Raised This Month: $51 Target: $400
 12% 

[COMPILER] Defines appearing within strings


  
 
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 09-15-2004 , 19:24   [COMPILER] Defines appearing within strings
#1

#define DEBUG 1

Here is my string: "[DEBUG] Byte: %d"

This will give me: "[1] Byte: %d"

after i compile it.
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 09-15-2004 , 19:27  
#2

not sure exactly how that is a bug though.
__________________
QwertyAccess is offline
BAILOPAN
Join Date: Jan 2004
Old 09-15-2004 , 19:48  
#3

Strings are literals and this is indeed a bug.
__________________
egg
BAILOPAN is offline
 



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 11:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode