Re: including sparse headers in C++ code

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

 



On Mon, Oct 11, 2010 at 3:46 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Oct 12, 2010 at 12:33:32AM +0200, Tomas Klacko wrote:
>
>> Great. I am posting my current status (as a patch) so that you can comment on it
>> and that I can refine it further.
>
> ehh...  Use of capitalized variable names is a Bad Idea(tm).  Especially
> since you are doing that well outside of headers, so even compatibility
> with Straustrups's Mistake does not serve as a reason.

I am about to complain the same thing. Al beats me to it.

Tomas, can you limit the change on the header file C++ friendly first?
I don't think the rest of the C code need to be compile in C++, so it is fine
using C++ key words.

Al, while you are here. What do you say regarding the true/false symbol name
conflict with stdbool.h? I am fine with either way, more leading toward leave it
as it is for now.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux