char* arguments in C API
Erik Max Francis
max at alcyone.com
Sun Mar 23 18:12:59 EST 2003
"Martin v. Löwis" wrote:
> Is there any chance that the "slightly stricter compiler" is a C++
> compiler, as opposed to being a C compiler? If not, which compiler
> is it, and what precisely is its message?
Even in C++, a special case for silent conversions of string literals to
char * is provided. The code should compile fine on both C and C++
compilers.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Wretches hang that jurymen may dine.
\__/ Alexander Pope
Official Omega page / http://www.alcyone.com/max/projects/omega/
The official distribution page for the popular Roguelike, Omega.
More information about the Python-list
mailing list