(not sure if this is an bug) I used g++ that came with gcc-2.95.2-crtdll.exe
Dominik
programmer99@gmx.de
Sun Sep 17 08:42:00 GMT 2000
Hello! (I'm not sure if
this is an bug)
Version: I used g++ that came with
gcc-2.95.2-crtdll.exe
System: I'm using Microsoft Windows 95.
Options: I've started the compiler with
the following options: g++ test.cpp -o
test.exe -fvtable-thunks
Error:The following text is given by the compiler:
test.cpp: In function `long int App_Render(IDirect3DDevice7
*)': test.cpp:156: warning: converting NULL to non-pointer
type D:\GCC\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\lib\libmi ngw32.a(main.o)(.text+0x8e):
undefined reference to `WinMain@16'
Sourcecode: I've added the surcecode as atachment
(test.cpp) But I'm sure the mistake is not in this code. (The code is an DirectX
Example written by Microsoft)
ÃÂ
Sorry for my very bad English;
Dominik ( programmer99@gmx.de
)
More information about the Gcc-bugs
mailing list