Compilation, and "what hell is this game"

2 views
Skip to first unread message

Frederic Rodrigo

unread,
Apr 4, 2008, 4:42:01 PM4/4/08
to ca...@googlegroups.com
Hi,
Just an advice, when you release a tarball remove "-Wall" from make file.
Because game can compile even if there is warning. EG with gcc 4.3

make -C src
make[1]: Entering directory `/home/fred/Documents/cave/cave9.2008-03-20/src'
gcc -Wall -Werror -ggdb `sdl-config --cflags` -I/usr/include/SDL -c -o
main.o main.cpp
cc1plus: warnings being treated as errors
main.cpp: In function 'void args_init(Args*, int, char**)':
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
main.cpp:141: error: deprecated conversion from string constant to 'char*'
make[1]: *** [main.o] Error 1

An other thin explain in README what is the goal and how play game (I quickly
tested, but I'm not understood the gravity effect)

Continuation
Fred

signature.asc

Rodolfo Borges

unread,
Apr 5, 2008, 1:45:37 PM4/5/08
to Frederic Rodrigo, ca...@googlegroups.com
On Fri, Apr 4, 2008 at 5:42 PM, Frederic Rodrigo <f.ro...@free.fr> wrote:
> Hi,
> Just an advice, when you release a tarball remove "-Wall" from make file.
> Because game can compile even if there is warning. EG with gcc 4.3

Thanks for trying the game, and reporting back.

I uploaded a new version that compiles in plain C, not C++, so this
"string" problem should be solved.
Please let me now of any new issue.


> An other thin explain in README what is the goal and how play game (I quickly
> tested, but I'm not understood the gravity effect)

The goal is on the homepage, and the controls are described in the README.

Anyway, I made it more detailed now, and hopefuly more clear.
I also copied the story section from the homepage into the README.


Regards,
bart9h

Reply all
Reply to author
Forward
0 new messages