[PATCH] simple patch to make gcc 3.1 not complain so much.

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list.

When compiling under gcc 3.1, the compiler complain about discarding qulifiers when passing __func__ to mutex_un/lock_real and unlock_out/in_real - apparently under gcc 3.1, __func__ is declared as const char* (why not under 2.96 too?). simply changing the decleration of the relevant functions (which don't modify *func anyway) made gcc happy.

can we get 1.2.0 out and only then apply this patch, please ?

--
Oded Arbel
m-Wise Inc.
[email protected]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
if you evaluate C++, you still get C, but C gets bigger 
	-- Erik Naggum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.