libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] RFC: Savannah issue bug #35745


From: Robert William Fuller
Subject: Re: [Libcdio-devel] RFC: Savannah issue bug #35745
Date: Mon, 12 Mar 2012 08:00:04 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110719 Lightning/1.0b3pre Thunderbird/3.1.10

On 03/12/2012 05:09 AM, Nicolas Boullis wrote:
> On Sun, Mar 11, 2012 at 11:09:35PM -0400, Rocky Bernstein wrote:
>> A patch was recently submitted: https://savannah.gnu.org/bugs/?35745
>>
>> Any comments on this?
> 
> I had no idea that identifiers that begin with _[_A-Z] were reserved, 
> but if they really are, I think it is sane to replace them, at least for 
> macros use as "header guards", which, I guess, nobody uses outside the 
> header files themselves.
> As for the patch itself, it adds a 32-character random-like suffix to 
> all identifiers. I think this is really ugly, and I can see no good 
> reason for this...

I agree with the comment that this is ugly.  Also, somebody might have
code that looks something like this, not that it cannot be changed:

#ifndef __CDIO_H__

struct msf_s {

    uint8_t m;
    uint8_t s;
    uint8_t f;
};

#endif // __CDIO_H__

Rob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]