Opened 15 years ago

Closed 15 years ago

Last modified 5 years ago

#4319 closed defect (invalid)

Compiler Error: undeclared '__argc' and '__argv'

Reported by: SF/wibble92 Owned by: Kirben
Priority: normal Component: Port: Win32
Version: Keywords: build
Cc: Game:

Description

Platform: Windows32 ( Xp Prof) Compiler: Cygwin Version: Latest SVN

I have downloaded the latest SVN GNU Tarball (http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk.tar.gz?view=tar) and when i compile it using Cygwin on Windows Xp Prof get a error

<Start of Error>

backends/platform/sdl/main.cpp In function 'int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)' backends/platform/sdl/main.cpp:45 error: '__argc' undeclared (first use of this function) backends/platform/sdl/main.cpp:45 error: (each undeclared identifier is reported only once for each function it appears in.) backends/platform/sdl/main.cpp:45 error: '__argv' undeclared (first use of this function) make: *** [backends/platform/sdl/main.o] Error 1

<End>

Ticket imported from: #2782097. Ticket imported from: bugs/4319.

Change History (3)

comment:1 by Kirben, 15 years ago

Cygwin is no longer supported, use MinGW or Microsoft VC++ to compile a Windows build.

comment:2 by Kirben, 15 years ago

Component: --Unset--
Owner: set to Kirben
Resolution: invalid
Status: newclosed

comment:3 by digitall, 5 years ago

Component: --Unset--Port: Win32
Note: See TracTickets for help on using tickets.