[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] driver_skytraq.c on CentOS 6.6 i686 - "'for' loop initial dec
From: |
Jason Azze |
Subject: |
[gpsd-dev] driver_skytraq.c on CentOS 6.6 i686 - "'for' loop initial declarations are only allowed in C99 mode" |
Date: |
Thu, 31 Mar 2016 07:20:13 -0400 |
A recent commit has broken my 32-bit CentOS 6.6 build.
I believe the commit is 2f6648b5fe094d4add353a77044a26705faa9441
Deccode Skytraq 0xE0, GPS Subframe data.
Here's the relevant chunk of Jenkins console output.
22:14:26 driver_skytraq.c: In function 'sky_msg_E0':
22:14:26 driver_skytraq.c:178: error: 'for' loop initial declarations
are only allowed in C99 mode
22:14:26 driver_skytraq.c:178: note: use option -std=c99 or -std=gnu99
to compile your code
22:14:26 scons: *** [driver_skytraq.o] Error 1
22:14:26 scons: building terminated because of errors.
A full paste of the console out is here:
http://hastebin.com/raw/nemuvutehi (This link might be ephemeral.)
This breakage is not a hardship for me. I'm only building on this OS
because Gary suggested we need some testing coverage there. :-)
--
Jason Azze
- [gpsd-dev] driver_skytraq.c on CentOS 6.6 i686 - "'for' loop initial declarations are only allowed in C99 mode",
Jason Azze <=