[SDL] Re: Q: Win32 link error _WinMainCRTStartup...

Olivier Dagenais olivier.dagenais at canada.com
Thu Apr 19 09:31:30 PDT 2001


> And when I compile:
> e:\ngendev\bsp.h(356) : error C2061: syntax error : identifier 'bsp'

All nehe tutorials are C programs, not C++.  MSVC++ will enforce C
rules (no classes, declarations of variables before any function
calls, etc..) if you compile a .c file.  (and BTW in Windows, .C
(capital 'c') is the same as .c and doesn't mean C++)

--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer






More information about the SDL mailing list