[cfe-commits] r70656 - /cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp

Chris Lattner clattner at apple.com
Sun May 3 11:58:42 PDT 2009


On May 3, 2009, at 9:49 AM, Douglas Gregor wrote:
>>> When we need to truncate a source line to fix in the terminal, make
>>> sure to take the width of the fix-it information into account, too.
>>
>> Completely unrelated to this fix, I'm now seeing:
>>
>> t.c:5:74: error: unsupported inline asm: input with type 'unsigned  
>> long' matching
>>     ?output with type 'int'
>> return   ({asm volatile("call __put_user_" "8" :  
>> "=a" (__ret_pu) :"0" (__pu_val)
>>                                                        
>> ~~~~~~~~~~      ~^~~~~~~~~
>>
>> The "?" before the continuation of the diagnostic line is kinda  
>> weird, is this intentional?
>
>
> Are you still seeing this? I fixed this problem last night.

I don't have the original testcase (that was dumb of me) but I also  
don't see mystery ?'s anymore.  However, I do see weirdness:

INPUTS/Cocoa_h.comments.m:15229:138: warning: 'weak_import' attribute  
only
       applies to variable and function types
   ...w...
      ^
INPUTS/Cocoa_h.comments.m:15494:128: warning: 'weak_import' attribute  
only
       applies to variable and function types
   ...weak_import));
      ^

etc.  I'll send you a testcase offline since it is huge.

-Chris




More information about the cfe-commits mailing list