Serious bug in idl compiler (non-compiling generated files)



Hi all,

Valid IDL code like:

	const char N = '\x0A';

will result in:

	#ifndef N
	#define N '
	'
	#endif /* !N */

which obviously does not compile. To make matters worse:

	const char T = '\x09';

results in:

	#ifndef T
	#define T '	'
	#endif /* !T */

which is just plain ugly to read in a header file for a type where the
client is expected to do "switch()" on a const CORBA char.


Looking for a fix,
  jules



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