Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

reserved identifier violation #19

Closed
elfring opened this issue Jun 14, 2012 · 5 comments
Closed

reserved identifier violation #19

elfring opened this issue Jun 14, 2012 · 5 comments

Comments

@elfring
Copy link

elfring commented Jun 14, 2012

I would like to point out that identifiers like "__UMCONNECTION_H___" and "__PACKETREADER_H__" do not fit to the expected naming conventions of the C/C++ language standard.
Would you like to adjust your selection for unique names?

@jskorpan
Copy link

jskorpan commented Oct 1, 2012

What part of the expected naming convention of the C/C++ language standard would that be in violation of?

@mthurlin
Copy link
Member

mthurlin commented Oct 1, 2012

ISO/IEC 14882-2003, Section 17.4.3.1.2 :)

@jskorpan
Copy link

jskorpan commented Oct 1, 2012

Bastard : )

From: Markus Thurlin [mailto:notifications@github.com]
Sent: den 1 oktober 2012 22:14
To: esnme/ultramysql
Cc: Jonas Tärnström
Subject: Re: [ultramysql] reserved identifier violation (#19)

ISO/IEC 14882-2003, Section 17.4.3.1.2 :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-9047896.

@elfring
Copy link
Author

elfring commented Oct 3, 2012

I recommend to delete double underscores from identifiers like include guards in the affected header files to make them a bit more standard-compliant.

@jskorpan
Copy link

Feel free to supply a pull request for this one, as of now since it's not an issue I'm not going to fix it.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants