D
David T. Ashley
I have this ugly habit of prefixing all function and variable names with
some identifying information about the owning module and perhaps also the
subcategory of function, i.e.
CGIX_ARBINT_sqrt();
In a few cases, these names have become rather long.
For both functions and variables, how long can I safely go without running
into the risk of two different names being treated the same by the compiler
or the linker? What standards apply?
The three compilers I use are:
a)gcc on x86/Linux.
b)MS VC++.
c)Cosmic's suite for microcontrollers.
Any insight or traceability to standards would be appreciated.
Dave.
some identifying information about the owning module and perhaps also the
subcategory of function, i.e.
CGIX_ARBINT_sqrt();
In a few cases, these names have become rather long.
For both functions and variables, how long can I safely go without running
into the risk of two different names being treated the same by the compiler
or the linker? What standards apply?
The three compilers I use are:
a)gcc on x86/Linux.
b)MS VC++.
c)Cosmic's suite for microcontrollers.
Any insight or traceability to standards would be appreciated.
Dave.