[Scummvm-devel] Testing needed for GSoC OpenGL Branch

Hubert Maier raziel_nosgoth at web.de
Thu Aug 5 20:33:43 CEST 2010


Hi vgvgf,

> Thanks, just fixed them.

>> Getting this warning with g++ 4.4.3:
>>
>>     C++      backends/graphics/opengl/opengl-graphics.o
>> backends/graphics/opengl/opengl-graphics.cpp: In member function
>> `virtual void OpenGLGraphicsManager::refreshCursorScale()':
>> backends/graphics/opengl/opengl-graphics.cpp:820: warning: comparison
>> between signed and unsigned integer expressions
>> backends/graphics/opengl/opengl-graphics.cpp:820: warning: comparison
>> between signed and unsigned integer expressions

I get an error on the very same file

    C++      backends/graphics/opengl/opengl-graphics.o
In file included from ./backends/graphics/graphics.h:31,
                 from ./backends/graphics/opengl/opengl-graphics.h:30,
                 from backends/graphics/opengl/opengl-graphics.cpp:28:
./common/keyboard.h:69: error: expected identifier before numeric constant
./common/keyboard.h:69: error: expected `}' before numeric constant
./common/keyboard.h:69: error: expected unqualified-id before numeric constant
./common/keyboard.h:183: error: extra ';'
./common/keyboard.h:236: error: 'KeyCode' does not name a type
./common/keyboard.h:259: error: expected `)' before 'kc'
./common/keyboard.h:265: error: expected `)' before 'kc'
./common/keyboard.h: In member function 'void KeyState::reset()':
./common/keyboard.h:272: error: 'keycode' was not declared in this scope
./common/keyboard.h:272: error: 'KEYCODE_INVALID' was not declared in this scope
./common/keyboard.h: In member function 'bool KeyState::operator==(const
KeyState&) const':
./common/keyboard.h:289: error: 'keycode' was not declared in this scope
./common/keyboard.h:289: error: 'const struct KeyState' has no member named
'keycode'
./common/keyboard.h: At global scope:
./common/keyboard.h:293: error: expected declaration before '}' token
gmake: *** [backends/graphics/opengl/opengl-graphics.o] Error 1


Ciao

Hubert
-- 
    Amiga On(e)ce, now and (OS)4 ever ...
<sb>
AOneXE - MPC7447/7457/950
A4000D - MC68060/50
<sb>
Moral indignation - jealousy with a halo.
-- Herbert George Wells
<sb>
AMIGA!    The path visionaries will follow ... always!





More information about the Scummvm-devel mailing list