-fwritable-strings a gcc 4.0
Michal Schmidt
xschmi00 na stud.feec.vutbr.cz
Středa Listopad 23 22:47:59 CET 2005
Dne Wed 23. of November 2005 21:41 Pavel Just napsal(a):
> Gcc verze 3.x znalo prepinac -fwritable-strings, ketry dovoloval
> zapisovat do retezcu, ktere byly nadeklarovane s nejakou hodnotou
> a tudiz nezapisovatelne. V gcc 4.0 ji nemohu najit. Tudiz netusim,
> co mi bude delat kompilator Informixu. V c4gl samozrejme
> -fwritable-strings je a gcc se zlobi. Myslim si, ze tento prepinac
> proste smazat nemuzu. Jak z toho ven ?
Z http://gcc.gnu.org/gcc-4.0/changes.html :
GCC no longer accepts the -fwritable-strings option. Use named character
arrays when you need a writable string.
Michal
Další informace o konferenci Linux