Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2008, 11:05 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

This compiles fine under Linux, but under Windows I get:

.\clientlist.cpp(579) : error C3861: 'strtok_r': identifier not found
.\clientlist.cpp(592) : error C3861: 'strtok_r': identifier not found

The lines in question are:

char *Friend_ = strtok_r(FriendsWho->FriendsString, ",", &SavePointer);

and

Friend_ = strtok_r(NULL, ",", &SavePointer);
Reply With Quote
  #2  
Old 09-24-2008, 11:40 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

There is no strtok_r for windows is the issue.
Reply With Quote
  #3  
Old 09-25-2008, 12:11 PM
spoon
Sarnak
 
Join Date: Aug 2007
Posts: 34
Default

Quote:
Originally Posted by KLS View Post
There is no strtok_r for windows is the issue.
and strtok_s is the windows equivalent. go go gadget precompiler!
Reply With Quote
  #4  
Old 09-25-2008, 12:57 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I rewrote it without using strtok and did a test compile on Windows this time. Patch in the first post has been updated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3