> > IIRC, source of the problem was well known feature of C++ language: 
> > arbitrary initialization order of global variables.
>
> No,  only initialization order of the compilation units (cpp files) is 
> arbitrary, in a single unit the variables are initialized in order as they 
> appear in the
> source. Additionally if you call a function from another unit, this call 
> initializes all variables preceding this function in the unit before call is 
> invoked.
> This is assured by C++ and (as you probably know) and such function calls are 
> commonly used to avoid initialization fiasco.

Thanks, but I know it ;)

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to