Fix g++.dg/other/pragma-re-1.C

Eric Botcazou ebotcazou@libertysurf.fr
Sat Nov 6 19:16:00 GMT 2004


Hello,

This Solaris-specific test was failing because of:

/home/eric/cvs/gcc/gcc/testsuite/g++.dg/other/pragma-re-1.C:14: warning: ISO 
C++ forbids casting between pointer-to-function and pointer-to-object
/home/eric/cvs/gcc/gcc/testsuite/g++.dg/other/pragma-re-1.C:20: warning: ISO 
C++ forbids casting between pointer-to-function and pointer-to-object

Fixed thusly, applied to mainline as obvious.


2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pragma-re-1.diff
Type: text/x-diff
Size: 719 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041106/33610260/attachment.bin>


More information about the Gcc-patches mailing list