Opened 9 years ago
Last modified 9 years ago
#9499 new Bugs
Oracle Solaris Studio 5.12 warning at os_thread_functions.hpp line 465
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Would be great if the following warning could be rectified. Thanks!
"path/to/boost/interprocess/detail/os_thread_functions.hpp", line 465: Warning (Anachronism), badargtype2w: Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
Note:
See TracTickets
for help on using tickets.
I don't see where's the problem with Interprocess, as the linkage type (extern "C") is not being used here, but a pointer to a function. I have no access to a Sun compiler so I'd need more help to see if this is really a bug as no other compiler complains about this.