Hi all,
My sketch had been compiling fine on 1.6.3 and suddenly, it gives out this errors
Can anyone give some suggestions on how to fix it ??
"error: 'ULONG_MAX' was not declared in this scope"
I'm using Arduino 1.6.3 and the errors was from the tinyGPS++ library..
By itself, using the TinyGPS++ examples, the sketch compile ok..
C:\Users\stanley\Dropbox\Arduino\libraries\TinyGPSPlus/TinyGPS++.h: In member function 'uint32_t TinyGPSLocation::age() const':
C:\Users\stanley\Dropbox\Arduino\libraries\TinyGPSPlus/TinyGPS++.h:59:83: error: 'ULONG_MAX' was not declared in this scope
uint32_t age() const { return valid ? millis() - lastCommitTime : (uint32_t)ULONG_MAX; }
^
C:\Users\stanley\Dropbox\Arduino\libraries\TinyGPSPlus/TinyGPS++.h: In member function 'uint32_t TinyGPSDate::age() const':
C:\Users\stanley\Dropbox\Arduino\libraries\TinyGPSPlus/TinyGPS++.h:83:86: error: 'ULONG_MAX' was not declared in this scope
uint32_t age() const { return valid ? millis() - lastCommitTime : (uint32_t)ULONG_MAX; }
tinyGPS++ FulExample compile fine....
Sketch uses 15,534 bytes (50%) of program storage space. Maximum is 30,720 bytes.
Global variables use 764 bytes (37%) of dynamic memory, leaving 1,284 bytes for local variables. Maximum is 2,048 bytes.
My sketch can be found at :-