After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664367 - gstglshadervariables: strtok_r is not multiplatform
gstglshadervariables: strtok_r is not multiplatform
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other Windows
: Normal critical
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-19 03:38 UTC by LRN
Modified: 2012-02-18 20:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LRN 2011-11-19 03:38:01 UTC
gstglshadervariables.c:194:5: error: implicit declaration of function 'strtok_r'

introduced by c711633f4de7bcded15bbbfa16ebf49cfe45638f

strtok_r is not available on Windows. The easiest fix is to do
#if G_OS_WIN32
#define strtok_r strtok_s
#endif
Comment 1 Julien Isorce 2011-11-21 15:49:10 UTC
commit ff40a0e41e1a152657390b1511a35f4d65d7c378
Author: Руслан Ижбулатов <lrn1986@gmail.com>
Date:   Mon Nov 21 15:04:16 2011 +0100

    gstglshadervariables: strtok_r is not multiplatform
    
    Fix bug #664367