> svn r8758 compiled with a few warnings on Windows with MinGW,
> except test/threads.cxx.
>
> Wow, well done !
Indeed so. Very neat indeed.
Also, the failure to compile threads.cxx looks like it might be
"interesting" too... I wonder if this is a mingw issue, or general
win32 issue?
Looks to be some sort of typedef clash, but I can't immediately see
exactly what...
Note that explicitly including <windows.h> before we include the fltk3
headers "fixes" this problem, so something in the fltk3 headers is
causing the windows headers to expand some macro or other that causes a
problem, I guess...
Compiling threads.cxx...
In file included from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/objbase.h:71,
from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ole2.h:9,
from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h:114,
from threads.h:61,
from threads.cxx:36:
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wtypes.h:141:
error: `typedef double fltk3::DOUBLE' redeclared as different kind of
symbol
../fltk3/enumerations.h:843: error: previous declaration of `fltk3::Mode
fltk3::DOUBLE'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wtypes.h:141:
error: declaration of `typedef double fltk3::DOUBLE'
../fltk3/enumerations.h:843: error: conflicts with previous declaration
`fltk3::Mode fltk3::DOUBLE'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wtypes.h:141:
error: declaration of `typedef double fltk3::DOUBLE'
../fltk3/enumerations.h:843: error: conflicts with previous declaration
`fltk3::Mode fltk3::DOUBLE'
In file included from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oleauto.h:158,
from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ole2.h:11,
from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h:114,
from threads.h:61,
from threads.cxx:36:
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oaidl.h:272:
error: `DOUBLE' does not name a type
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oaidl.h:286:
error: expected `;' before '*' token
In file included from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ole2.h:11,
from
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h:114,
from threads.h:61,
from threads.cxx:36:
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oleauto.h:366:
error: `fltk3::HRESULT fltk3::VarUI1FromR8' redeclared as different kind
of symbol
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oleauto.h:249:
error: previous declaration of `fltk3::HRESULT
fltk3::VarUI1FromR8(double, unsigned char*)'
d:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/oleauto.h:366:
error:
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev