This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Need to correct the function declaration.
- From: niXman <i dot nixman at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 7 Nov 2011 06:55:13 +0400
- Subject: Need to correct the function declaration.
When I try to build gcc-trunk on OpenBSD-5.0(gcc-4.2.1), I get the
following error:
> gcc-4.6.2/i686-pc-openbsd5.0/libstdc++-v3/include/mutex:818:64: error:
> invalid conversion from 'void (*)(...)' to 'void (*)()' [-fpermissive]
Please add the void into arguments list for function __once_proxy();,
in file mutex:799.
Regards, niXman.