COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-24-2007, 04:01 AM   #1
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default WDL string.h includes and conflicts

I am really sorry to be squatting all over this forum but here's some useful info:

if you install WDL and add it to your regular include path, and you get a million compile errors relating to string and memory functions, it's because WDL's string.h is getting picked up instead of the standard library string.h. To fix this you need to do one of these things:

- rename WDL/string.h to something else, like WDL/wdl_string.h.

or

- don't put WDL in your include path at all, and whenever you need a WDL include, explicitly qualify it as #include "../WDL/whatever.h". (This is the WDL Official Recommendation.)

Last edited by schwa; 05-24-2007 at 04:15 AM.
schwa is offline   Reply With Quote
Old 11-24-2007, 12:39 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

This is deprecated, more recent versions of WDL have wdlstring.h instead of string.h, so just make sure that any old string.h's in your wdl dir are deleted..
Justin is offline   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 -7. The time now is 01:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.