Ingolf Steinbach
2004-Aug-06 14:57 UTC
[icecast-dev] Extensive definitions with reserved identifiers
Hi, the icecast source code contains many definitions with identifiers reserved in C. For instance, include guards typically are __LIKE_THIS__ (note the underscores at the beginning). While gcc does not complain about these, they might lead to problems with other compilers (or a future gcc release) and also make code analyzers complain. For an overview of reserved identifers, see for instance http://oakroadsystems.com/tech/c-predef.htm Could you please modify the icecast source to avoid reserved identifiers? For instance, a completely valid scheme for include guard naming (which also avoids name clashes) could be ICECAST_SUBDIRECTORY_NAME_H rather than __NAME_H__. static functions could be named icecastDoSomething() rather than _doSomething(). If you are interested, I could generate a patch. Kind regards Ingolf -- Ingolf Steinbach Jena-Optronik GmbH ingolf.steinbach@jena-optronik.de ++49 3641 200-147 PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04 --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.