Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

strange compile issue on GCC 4.8.3 / libc 2.17

memaher
Beginner
605 Views

Hi all,

I have a very strange compile error emanating from concurrent_vector.h. At a complete loss how to proceed, was wondering if anyone had any suggestions? 

This was a previously compiling application with a slightly older version of OS (was Redhat 7.0 clone : now failing on 7.1). Getting the following message: 

In file included from /usr/include/stdlib.h:42:0,

                 from /usr/include/c++/4.8.2/cstdlib:72,
                 from /usr/include/c++/4.8.2/bits/stl_algo.h:59,
                 from /usr/include/c++/4.8.2/algorithm:62,
                 from /opt/intel/tbb44_20150728oss//include/tbb/concurrent_vector.h:40,
                 from <...my code...>
/usr/include/bits/waitstatus.h:79:27: error: redeclaration of ‘unsigned int wait::<anonymous struct>::__w_retcode’
  unsigned int __w_retcode:8;

/usr/include/bits/waitstatus.h:74:27: note: previous declaration ‘unsigned int wait::<anonymous struct>::__w_retcode’
  unsigned int __w_retcode:8; /* Return code if exited normally.  */

 

Looking into this header file, it seems that BOTH BIG_ENDIAN and LITTLE_ENDIAN have been declared somewhere.

Any ideas?

Mat 

 

 

0 Kudos
0 Replies
Reply