Hi Eric, >>>> warning: visibility attribute not supported in this configuration; >>>> ignored [-Wattributes]
> The problem is, I was only able to reproduce it when linking together > a relatively large code base with lots of functions, and only when many > of these functions were actually being used. Hang on - you say that you are getting this message during *linking* ? The error message comes from the compiler, not the linker, so why is it turning up in the linker's output ? Do you have LTO enabled ? (If you do, does disabling LTO make the problem go away ?) Also, if you add -Wno-attributes to the command line, does the problem go away ? (I assume that you are not otherwise using unsupported attributes, so disabling the warning would not be a big issue). Just a thought - I know that this is not a real solution to the problem. > Any attempt to simplify the test case by reducing code, or even > just calls to that code - which was the first thing I tried, made the > error "magically" disappear. That happened regardless of which function > calls were eliminated. I hate these kinds of bugs. :-{ Are there any clues as to where the compiler/linker thinks that the visibility attribute is being used ? Cheers Nick ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users