Hi Groepaz, > On Saturday 21 January 2012, Ullrich von Bassewitz wrote: > > the compiler behaves as follows: > > 1. Depending on the compiler flag --writable-strings, strings > > will either go into the DATA or the RODATA segment. > > shouldnt that depend on wether they are declared as const or not? IIRC the type of the literal is always char* but changing its content is undefined behaviour. You can not declare the type of the literal itself. Ciao, Marc 'BlackJack' Rintsch -- Axiomkraft - Nein Danke! ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2012-01-22 02:56:52 CET