davidljung / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 1 forks source link

Compile Failure #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a quick bug report. I just downloaded 2.1.6 from Google code, and
ran into this make error:

owen:~/projects/LanDroids/simulator/rl-glue> make
cc -c -I./RL-Glue -O2 -std=c99 ./RL-Glue/RL_glue.c -o RL-Glue/Build/RL_glue.o
cc1: unknown C standard `c99'
make: *** [RL-Glue/Build/RL_glue.o] Error 1
owen:~/projects/LanDroids/simulator/rl-glue> cc --version
2.95.3
owen:~/projects/LanDroids/simulator/rl-glue>

I removed the -std=c99 and then had to change only one line to compile
correctly. In Glue_utilities.c, the function parse_type(...) declares a
 char c;
inside the function. Once I move this declaration to the top of the
function, everything compiles just fine.

Thanks,
Matt

Original issue reported on code.google.com by brian.ta...@gmail.com on 26 Aug 2008 at 5:34

GoogleCodeExporter commented 8 years ago
Need to see if we can verify this with download vs. svn and see if its still an 
issue.

If so, obviously needs to be fixed.

Original comment by brian.ta...@gmail.com on 2 Sep 2008 at 10:13

GoogleCodeExporter commented 8 years ago
We think this is solved and if not will be caught in the test suite.

And I actually fixed this.

Original comment by bttan...@gmail.com on 3 Sep 2008 at 10:45