Comments (3)
The code itself might be fine. It seems just to use strtok_r() correctly. I have no experience to use strtok_r() on MacOSX. Please check the strtok_r() implementation on MacOSX.
from rtklib.
On MacOS X the strtok_r() function requires POSIX C language level of at least 199506.
In /usr/include/string.h:
/* Additional functionality provided by:
* POSIX.1c-1995,
* POSIX.1i-1995,
* and the omnibus ISO/IEC 9945-1: 1996
*/
#if __DARWIN_C_LEVEL >= 199506L
__BEGIN_DECLS
char *strtok_r(char *, const char *, char **);
__END_DECLS
#endif /* __DARWIN_C_LEVEL >= 199506L */
Changing line 106 of rtkcmn.c to:
#define _POSIX_C_SOURCE 199506
fixes this bug. I couldn't find any indications of whether the explicit POSIX language level required for rtkcmn.c was a minimum or maximum version constraint, so I can't say whether this breaks anything else. The file compiles cleanly on MacOS 10.8.5 and Debian 3.2.54.
from rtklib.
Thanks. It is fixed in rtklib 2.4.3 b17.
from rtklib.
Related Issues (20)
- Error converting ublox to rinex file in rtklib 2.4.3 HOT 1
- Arrays out of bounds when read observations
- C++ library support
- java:Data cannot be obtained by forwarding with NTRIP Server
- Does rtkpos use INS data ? HOT 2
- Static measuring point gives an error in meters in rtkpost HOT 3
- Calculate the covariance matrix HOT 1
- Could someone provide me with the comprehensive API documentation for RTKLIB?
- ver2.4.3 got no positions when using Kinematic Mode HOT 2
- RTKRCV. Output stream to TCP/IP port.
- Run SPS (pntpos) with precise orbits and clocks HOT 2
- RTKRCV not processing UBX inputs HOT 2
- GPGGA message has a negative age in the "age" field
- Unable to get centimeter level accuracy in the kinematic mode HOT 7
- Is it possible to create VRS using RTKLIB environemt?
- RTKPlot executed failed when I opened obs file HOT 1
- Convbin of RTCM3 file writes timestamps in the future HOT 3
- Out-of-Bounds Read in decode_sbstype6 for PRN Mask > 51 Bits HOT 1
- the results processed by rtknavi are just single HOT 4
- rtkplot error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtklib.