delorie.com/archives/browse.cgi | search |
On 06/04/2015 11:22 PM, DJ Delorie wrote: > Hmmm... either our headers need to be updated to newer ANSI versions > (should we be exporting more symbols now?) or libstdc++ is making > assumptions they're not telling us about (we'd need to test for those > assumptions, not __cplusplus in general). > libstdc++ uses these macros unconditionally. So perhaps there is no other quick way as my earlier patch for now. Run some script (under Linux) to check whether there are other similar problems after patching errno.h Script compiled header files in similar way using -std=c++03 ,-c++11 and c++14. I ignored failures for which also similar Linux compile fails (like c++11 required). Fedora 22 has gcc-5.1 as system compiler so that fits nicely for testing. The results: no more unexpected failures after patching errno.h (some parts of libstdc++ depends on other stuff and as result fails) So I'll applying patch unless there are objections Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |