Coder Social home page Coder Social logo

33d / gbsim-win Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 3.0 6.98 MB

An obsolete environment for building gbsim with Windows - use https://github.com/33d/gbsim instead

C 59.12% C++ 0.96% Assembly 3.41% Python 0.03% Shell 0.43% CSS 0.01% TeX 0.35% Ruby 0.02% Objective-C 0.02% Makefile 35.31% M4 0.26% Pawn 0.08% Batchfile 0.01%

gbsim-win's People

Contributors

apstndb avatar ballessay avatar bsekisser avatar buserror avatar cardoe avatar glueckm avatar lleroy avatar mali avatar nnayo avatar ppd avatar pwithnall avatar rouseabout avatar schuay avatar the-real-orca avatar thomasa88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gbsim-win's Issues

error: 'usleep' is deprecated

Hi,
Another error:

make[3]: Entering directory `/gbsim-win/gbsim/simavr'
sim/sim_avr.c: In function 'avr_callback_sleep_raw':
sim/sim_avr.c:305:3: error: 'usleep' is deprecated (declared at c:\mingw\include\unistd.h:129) [-Werror=deprecated-declarations]
   usleep(usec);
   ^
cc1.exe: all warnings being treated as errors
make[3]: *** [obj-mingw32/sim_avr.o] Error 1

Is there a workaround ?
Would this be interesting ?
http://stackoverflow.com/questions/5801813/c-usleep-is-obsolete-workarounds-for-windows-mingw

unknown type name 'pid_t'

Hi,
Maybe my praying skills are not sharp enough, I got this after following the build instructions and trying a make.

gcc -c -o pthread.o -g -O0 -DPTW32_BUILD_INLINED -DPTW32_STATIC_LIB -I. -DHAVE_CONFIG_H -Wall  pthread.c
In file included from pthread.h:288:0,
                 from pthread.c:39:
./sched.h:152:47: error: unknown type name 'pid_t'
 PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy);
                                               ^
./sched.h:154:47: error: unknown type name 'pid_t'
 PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
                                               ^
In file included from implement.h:76:0,
                 from pthread.c:40:
semaphore.h:149:8: error: unknown type name 'mode_t'
        mode_t mode,
        ^
make[2]: *** [pthread.o] Error 1

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.