Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6624 Discussions

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

Stefan_B_3
Beginner
383 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
369 Views

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


View solution in original post

1 Reply
Gennady_F_Intel
Moderator
370 Views

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


Reply