Skip to content

Instantly share code, notes, and snippets.

@mrdaemon
Created April 6, 2011 20:34
Show Gist options
  • Save mrdaemon/906469 to your computer and use it in GitHub Desktop.
Save mrdaemon/906469 to your computer and use it in GitHub Desktop.
jesus fuck i hate visual c++
C:\buildroot\BaconDemo>scons
scons: Reading SConscript files ...
Building for Windows.
Checking for SDL...(cached) ok
scons: done reading SConscript files.
scons: Building targets ...
cl /Fosinescroller.obj /c sinescroller.c /MD /Ox /DMSVC /nologo "/IC:\Program Files\Microsoft Visual Studio 10.0\VC\INCL
UDE" "/IC:\Program Files\Microsoft SDKs\Windows\v7.0A\include" /IC:\SDL\include "/IC:\Program Files\Microsoft SDKs\Windo
ws\v7.1\INCLUDE" "/IC:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\gl"
sinescroller.c
sinescroller.c(55) : error C2275: 'TTF_Font' : illegal use of this type as an expression
C:\SDL\include\SDL_ttf.h(80) : see declaration of 'TTF_Font'
sinescroller.c(55) : error C2065: 'font' : undeclared identifier
sinescroller.c(58) : error C2275: 'SDL_Color' : illegal use of this type as an expression
c:\sdl\include\SDL_video.h(60) : see declaration of 'SDL_Color'
sinescroller.c(58) : error C2146: syntax error : missing ';' before identifier 'color'
sinescroller.c(58) : error C2065: 'color' : undeclared identifier
sinescroller.c(58) : error C2059: syntax error : '{'
sinescroller.c(59) : error C2275: 'SDL_Surface' : illegal use of this type as an expression
c:\sdl\include\SDL_video.h(122) : see declaration of 'SDL_Surface'
sinescroller.c(59) : error C2065: 'surface' : undeclared identifier
sinescroller.c(59) : error C2065: 'font' : undeclared identifier
sinescroller.c(59) : warning C4047: 'function' : 'TTF_Font *' differs in levels of indirection from 'int'
sinescroller.c(59) : warning C4024: 'TTF_RenderText_Blended' : different types for formal and actual parameter 1
sinescroller.c(59) : error C2065: 'color' : undeclared identifier
sinescroller.c(59) : error C2440: 'function' : cannot convert from 'int' to 'SDL_Color'
sinescroller.c(59) : warning C4024: 'TTF_RenderText_Blended' : different types for formal and actual parameter 3
sinescroller.c(67) : error C2065: 'surface' : undeclared identifier
sinescroller.c(67) : error C2223: left of '->w' must point to struct/union
sinescroller.c(68) : error C2065: 'surface' : undeclared identifier
sinescroller.c(68) : error C2223: left of '->h' must point to struct/union
sinescroller.c(72) : error C2065: 'surface' : undeclared identifier
sinescroller.c(72) : error C2223: left of '->pixels' must point to struct/union
sinescroller.c(72) : error C2198: 'glTexImage2D' : too few arguments for call
sinescroller.c(79) : error C2065: 'surface' : undeclared identifier
sinescroller.c(79) : error C2223: left of '->w' must point to struct/union
sinescroller.c(80) : error C2065: 'surface' : undeclared identifier
sinescroller.c(80) : error C2223: left of '->h' must point to struct/union
sinescroller.c(102) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(102) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(102) : error C2143: syntax error : missing ')' before 'type'
sinescroller.c(102) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(102) : error C2065: 'i' : undeclared identifier
sinescroller.c(102) : warning C4552: '<' : operator has no effect; expected operator with side-effect
sinescroller.c(102) : error C2065: 'i' : undeclared identifier
sinescroller.c(102) : error C2059: syntax error : ')'
sinescroller.c(102) : error C2143: syntax error : missing ';' before '{'
sinescroller.c(104) : error C2065: 'i' : undeclared identifier
sinescroller.c(108) : error C2065: 'i' : undeclared identifier
sinescroller.c(122) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(123) : error C2065: 'color' : undeclared identifier
sinescroller.c(123) : error C2065: 'color' : undeclared identifier
sinescroller.c(128) : error C2065: 'i' : undeclared identifier
sinescroller.c(134) : error C2065: 'i' : undeclared identifier
sinescroller.c(141) : error C2065: 'i' : undeclared identifier
sinescroller.c(147) : error C2065: 'i' : undeclared identifier
sinescroller.c(160) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(160) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(160) : error C2143: syntax error : missing ')' before 'type'
sinescroller.c(160) : error C2143: syntax error : missing ';' before 'type'
sinescroller.c(160) : error C2065: 'i' : undeclared identifier
sinescroller.c(160) : warning C4552: '<' : operator has no effect; expected operator with side-effect
sinescroller.c(160) : error C2065: 'i' : undeclared identifier
sinescroller.c(160) : error C2059: syntax error : ')'
sinescroller.c(161) : error C2143: syntax error : missing ';' before '{'
sinescroller.c(164) : error C2065: 'i' : undeclared identifier
sinescroller.c(174) : error C2065: 'i' : undeclared identifier
sinescroller.c(175) : error C2065: 'i' : undeclared identifier
sinescroller.c(176) : error C2065: 'i' : undeclared identifier
sinescroller.c(177) : error C2065: 'i' : undeclared identifier
sinescroller.c(179) : error C2065: 'i' : undeclared identifier
sinescroller.c(180) : error C2065: 'i' : undeclared identifier
sinescroller.c(181) : error C2065: 'i' : undeclared identifier
sinescroller.c(182) : error C2065: 'i' : undeclared identifier
sinescroller.c(188) : error C2065: 'i' : undeclared identifier
sinescroller.c(189) : error C2065: 'i' : undeclared identifier
sinescroller.c(190) : error C2065: 'i' : undeclared identifier
sinescroller.c(191) : error C2065: 'i' : undeclared identifier
sinescroller.c(193) : error C2065: 'i' : undeclared identifier
sinescroller.c(194) : error C2065: 'i' : undeclared identifier
sinescroller.c(195) : error C2065: 'i' : undeclared identifier
sinescroller.c(196) : error C2065: 'i' : undeclared identifier
scons: *** [sinescroller.obj] Error 2
scons: building terminated because of errors.
C:\buildroot\BaconDemo>
@iozsaygi
Copy link

iozsaygi commented Mar 8, 2022

Found this piece of file after 11 years and I'm sharing same emotions with you even at this day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment