Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

ipptypes_l.h cannot be compiled with gcc with -Werror=pedantic

Stefan_B_3
Beginner
713 Views

Hi guys,

 

could you please remove the superfluous comma at the end of line 95 of ipptypes_l.h for one of the next releases?

 

ipprBorderInMem = ipprBorderInMemLeft|ipprBorderInMemTop|ipprBorderInMemRight|ipprBorderInMemBottom|ipprBorderInMemFront|ipprBorderInMemBack,

should become

ipprBorderInMem = ipprBorderInMemLeft|ipprBorderInMemTop|ipprBorderInMemRight|ipprBorderInMemBottom|ipprBorderInMemFront|ipprBorderInMemBack

 

Otherwise gcc gives this output when warnings are treated as errors and the pedantic option is active:

 

/tmp/myBuild/Toolkits/ipp/include/ipptypes_l.h:95:153: error: comma at end of enumerator list [-Werror=pedantic]
ipprBorderInMem = ipprBorderInMemLeft|ipprBorderInMemTop|ipprBorderInMemRight|ipprBorderInMemBottom|ipprBorderInMemFront|ipprBorderInMemBack,
^
cc1plus: all warnings being treated as errors

 

Cheers,

 

Stefan

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
699 Views

thanks, Stefan, we will definitely do that. Thanks for the report.


View solution in original post

1 Reply
Gennady_F_Intel
Moderator
700 Views

thanks, Stefan, we will definitely do that. Thanks for the report.


Reply