Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
6819 Discussions

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

Stefan_B_3
Beginner
1,287 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
1,273 Views

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


View solution in original post

1 Reply
Gennady_F_Intel
Moderator
1,274 Views

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


Reply