This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

... discard qualifiers ...



Hi guys,

is there a way other than '-fwritable-strings' to avoid errors in this case :

void foo(const void * p)
{
...
}

main()
{

	foo( "Hello world !" );

}

Cheers,
	Davide.

-- 
"Debian, the freedom in freedom."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]