Re: bug in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14/06/2016 20:20, Andrew Haley wrote:

> On 14/06/16 19:18, Jim Michaels wrote:
> 
>> warning: "/*" within comment [-Wcomment]
>>   //case insensitive fs and OS BORLAND/Embarcadero c++ compiler may run on mac/*nix
> 
> Looks correct to me.  What don't you like about this warning?

(To be clear, gcc is warning about the /* comment-start token within a // comment.)

Looking at the documentation for the current release:

  https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

-Wcomment
    Warn whenever a comment-start sequence '/*' appears in a '/*' comment, or whenever
    a Backslash-Newline appears in a '//' comment. This warning is enabled by -Wall.

The doc doesn't mention warning for /* appearing in a // comment.

Regards.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux