ttlappalainen / NMEA0183

Library for handling NMEA0183 messages
69 stars 44 forks source link

NMEA0183Msg.cpp: Now compiles with Microsoft Visual C++. #48

Closed Andrei-Errapart closed 1 year ago

Andrei-Errapart commented 1 year ago

The #include is required for some functions and harmless otherwise.

The added const qualifiers are needed for the MSVC++, which happily overloads strchr for a pointer to constant string, in which case it also returns a pointer to constant string.