kosma / minmea

a lightweight GPS NMEA 0183 parser library in pure C
Do What The F*ck You Want To Public License
756 stars 246 forks source link

Fixing minmea.c to compile with C++ compiler. #12

Closed maximus5684 closed 8 years ago

maximus5684 commented 8 years ago

C++ compilers won't let you use the address of a temporary array. Changed to local variables to fix the problem.

arturmadrzak commented 8 years ago

Can you change dArr[3] => dArr[] and others as well, please.

arturmadrzak commented 8 years ago

Thank you for contribution

maximus5684 commented 8 years ago

No problem. Thanks for the awesome library!