Suggestion for GCC (C & C++) enhancement - static variable initialisation ordering

Mike Stump mrs@apple.com
Mon May 1 22:04:00 GMT 2006


On Apr 29, 2006, at 7:45 AM, Manfred von Willich wrote:
> Any interested GCC maintainers/contributors:

I'd encourage you to work up a solid proposal for ISO/ANSI and  
propose it there.  Some of the issues you bring up have already been  
discussed in that forum and decided, I'd doubt that they'd want to  
change those decisions.

Specifically:

    (b) detect (unfortunately not at compile time) when correct  
initialisation is impossible due to a cyclic dependency.

was thought about and rejected as was the idea about running an init  
order solver at runtime (beyond those aspects already present in the  
standard).



More information about the Gcc mailing list