Re: Link convention fixes

From: Kinkie <gkinkie_at_gmail.com>
Date: Sat, 28 Nov 2009 01:22:35 +0100

On Fri, Nov 27, 2009 at 11:22 PM, Robert Collins
<robertc_at_robertcollins.net> wrote:
> Can you give an example of what you're talking about, and show the
> compiler warning you're getting too? (And what flags are needed to get
> it)?

e.g.

        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/export/hom
e/hudson/squid-trunk/btlayer-02-maximus/squid-3.HEAD-BZR/_inst/etc/squid.conf\"
-DDEFAULT_SQUID_DATA
_DIR=\"/export/home/hudson/squid-trunk/btlayer-02-maximus/squid-3.HEAD-BZR/_inst/share\"
-DDEFAULT_S
QUID_CONFIG_DIR=\"/export/home/hudson/squid-trunk/btlayer-02-maximus/squid-3.HEAD-BZR/_inst/etc\"
 -
I../.. -I../../include -I../../src -I../include -I/usr/local/include
-I/usr/include/gssapi -I/usr/in
clude/kerberosv5 -I../../lib -I../../lib/libLtdl -I../src
-I/usr/include/gssapi -I/usr/include/kerbe
rosv5 -I/usr/include/libxml2 -I/usr/include/libxml2
-D_FILE_OFFSET_BITS=64 -g -c -o mem.o ../../
src/mem.cc
"../../src/mem.cc", line 570: Warning (Anachronism): Using extern "C"
void(*)(void*) to initialize void(*)(void*).
1 Warning(s) detected.

compiler is sunstudio cc, default testsuite flags.
A "layer-02" build has 125 of those.

-- 
    /kinkie
Received on Sat Nov 28 2009 - 00:22:43 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 28 2009 - 12:00:05 MST