Page MenuHomePhabricator

mitkPixelTypeMultiplex.h is broken for 0 parameters
Closed, ResolvedPublic

Description

mitkPixelTypeMultiplex0 contains syntax errors

if ( ptype.GetComponentType() == itk::ImageIOBase::CHAR )\

function<char>( ptype,  );\

~~~~~~~~~~~~~~~~~~~~~~~~~~~i~~~~~~~~~~~~

the commas need to be remove.

Event Timeline

New remote branch pushed: bug-15752-RemoveCommas

Thanks for working on it.

Could you perhaps find an enhance an appropriate unit test, which makes sure this fix will be kept alive?

Merged it without unit test - since it would need an addition function with which this macro can be used.
As soon as code parts that reveiled this problems are merged into master,
they will keep this fix alive.

[62bbe6]: Merge branch 'bug-15752-RemoveCommas'

Merged commits:

2013-07-31 16:59:47 Christian Weber [a47038]
removed commas which caused compile errors when macro was used