This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(not sure if this is an bug) I used g++ that came with gcc-2.95.2-crtdll.exe


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 )


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]