|
From: | Vincent Penquerc'h |
Subject: | RE: Varför segmenteringsfel? |
Date: | Fri, 13 Jul 2001 14:03:08 +0100 |
> char * a = "xy"; > char * b = a + 1; "xy" is a constant, which you are trying to change. It is set in a non writeable section. Compile with -fwriteable-strings (unsure of the exact spelling) -- Lyrian
[Prev in Thread] | Current Thread | [Next in Thread] |