[hatari-devel] WinUae CPU for hatari

Eero Tamminen eerot at users.berlios.de
Tue Nov 2 19:34:13 CET 2010


Hi,

On Tuesday 02 November 2010, Laurent Sallafranque wrote:
> >  Defining "L" empty didn't work?
>
> I don't understand how you want it :
> (  "#define L"     ?)

That seems to give:
	warning: initialization from incompatible pointer type

So just use:
	#define L ""

Then things like this:
	L"foobar"
are converted to:
	"""foobar"

(GCC concatenates strings like that, so it should work fine.)


> If I do something like this, lines like "ASL" will become "AS", no ?

Pre-processor will replace only L identifiers, not parts of identifiers.

I.e. an identifier like "ASL" won't be touched.


	- Eero



More information about the hatari-devel mailing list