FlyingDoc Posted July 4, 2014 at 10:18 AM Share Posted July 4, 2014 at 10:18 AM Mit den neuen Bindings kommt es beim Compilieren zu einem Fehler unter QT D:\Software\QT Projekte\HUD\ip_connection.cpp:299: Fehler: 'size_t strnlen(const char*, size_t)' was declared 'extern' and later 'static' [-fpermissive] static size_t strnlen(const char *s, size_t maxlen) { ^ c:\software\qt5.2.1\tools\mingw48_32\i686-w64-mingw32\include\string.h:55: Fehler: previous declaration of 'size_t strnlen(const char*, size_t)' [-fpermissive] size_t __cdecl strnlen(const char *_Str,size_t _MaxCount); ^ Wenn ich in ip_connection.cpp folgend Funtion auskommentiere geht alles wieder. #ifdef __MINGW32__ static size_t strnlen(const char *s, size_t maxlen) { const char *p = s; size_t n = 0; while (*p != '\0' && n < maxlen) { ++p; ++n; } return n; } #endif Quote Link to comment Share on other sites More sharing options...
photron Posted July 4, 2014 at 01:16 PM Share Posted July 4, 2014 at 01:16 PM Sorry, test mal bitte diese Version.tinkerforge_c_bindings_2_1_3_rc1.zip Quote Link to comment Share on other sites More sharing options...
FlyingDoc Posted July 4, 2014 at 07:13 PM Author Share Posted July 4, 2014 at 07:13 PM So. Gerade zum testen gekommen. Alles i.o. Quote Link to comment Share on other sites More sharing options...
photron Posted July 8, 2014 at 09:42 AM Share Posted July 8, 2014 at 09:42 AM 2.1.3 ist veröffentlicht. Quote Link to comment Share on other sites More sharing options...
FlyingDoc Posted July 8, 2014 at 09:54 AM Author Share Posted July 8, 2014 at 09:54 AM Schon gesehn.THX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.