Re: [m5-dev] warn bug?

2008-06-22 Thread nathan binkert
You can also cast it to (const char *). I cant remember if this is hard to fix or not. I'll check it out. File a bug if you like. Nate On Sat, Jun 21, 2008 at 9:34 AM, Gabe Black [EMAIL PROTECTED] wrote: I've been dealing with a problem today where the warn macro seems to have trouble

[m5-dev] warn bug?

2008-06-21 Thread Gabe Black
I've been dealing with a problem today where the warn macro seems to have trouble using a character array directly as an argument as apposed to a char *. This code: char cleanedString[length + 1]; cleanedString[length] = 0; if (str.length() length) {