On 07.03.2010, at 20:55, Greg Ercolano wrote: > Domingo Alvarez Duarte wrote: ... >> output on my machine: 00403000 = 00403000 = 00403000 > > It depends on the compiler. > > g++ behaves as above, but for instance with Microsoft VS 7 I get: > > Z:\tmp>cl /TP foo.cxx > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86 > Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. > > foo.cxx > Microsoft (R) Incremental Linker Version 7.00.9955 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:foo.exe > foo.obj > > Z:\tmp>.\foo.exe > 00408040 = 00408048 = 00408050 > ^^ ^^ ^^
One more reason not to use the MS compilers ;-P SCNR Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
