Git Product home page Git Product logo

planet_wars-cpp's Introduction

planet_wars-cpp's People

Contributors

albertz avatar gerard avatar vellerosbuildbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

planet_wars-cpp's Issues

Some warnings generated with g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Maybe you are already aware of these, but just in case (I don't know how relevant they are):

$ make
g++ -g -O2 -Wall process.cpp -c -o process.o
process.cpp: In member function ‘void Process::flush()’:
process.cpp:123: warning: ignoring return value of ‘ssize_t write(int, const void_, size_t)’, declared with attribute warn_unused_result
g++ -g -O2 -Wall engine.o game.o utils.o process.o -o playgame
g++ -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT showgame.cpp -c -o showgame.o
g++ -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT viewer.cpp -c -o viewer.o
gcc -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT font.c -c -o font.o
g++ -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_picofont.cpp -c -o SDL_picofont.o
g++ -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT gfx.cpp -c -o gfx.o
gfx.cpp: In function ‘void DrawRectFill(SDL_Surface_, int, int, int, int, Color)’:
gfx.cpp:150: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:150: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:168: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:130: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:130: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:160: warning: dereferencing pointer ‘r.273’ does break strict-aliasing rules
gfx.cpp:319: note: initialized from here
g++ -g -O2 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -L/usr/lib -lSDL utils.o game.o showgame.o viewer.o font.o SDL_picofont.o gfx.o -o showgame
g++ -g -O2 -Wall BotCppStarterpack.cpp game.o utils.o -o BotCppStarterpack
g++ -g -O2 -Wall BotExampleDual.cpp game.o utils.o -o BotExampleDual
g++ -g -O2 -Wall BotExampleRage.cpp game.o utils.o -o BotExampleRage
g++ -g -O2 -Wall BotExampleBully.cpp game.o utils.o -o BotExampleBully
g++ -g -O2 -Wall BotExampleProspector.cpp game.o utils.o -o BotExampleProspector
g++ -g -O2 -Wall BotExampleRandom.cpp game.o utils.o -o BotExampleRandom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.