ports/160551: graphics/mapserver: CLANG: ./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers line_profile_aa& profile() { return *m_profile; }
Hartmann at FreeBSD.org
Hartmann at FreeBSD.org
Thu Sep 8 08:40:01 UTC 2011
>Number: 160551
>Category: ports
>Synopsis: graphics/mapserver: CLANG: ./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers line_profile_aa& profile() { retu
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 08 08:40:00 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Hartmann, O.
>Release: FreeBSD 0.0-BETA2/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Building graphics/mapserver with clang fails to build due to the following error:
clang++: warning: argument unused during compilation: '-L/usr/local/lib'
clang++: warning: argument unused during compilation: '-L./'
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c agg_line_aa_basics.cpp -o agg_line_aa_basics.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c -o agg_line_profile_aa.lo agg_line_profile_aa.cpp
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -pipe -fno-strict-aliasing -march=native -I/usr/local/include -L/usr/local/lib -I../include -L./ -c agg_line_profile_aa.cpp -fPIC -DPIC -o .libs/agg_line_profile_aa.o
clang++: warning: argument unused during compilation: '-L/usr/local/lib'
clang++: warning: argument unused during compilation: '-L./'
In file included from agg_line_profile_aa.cpp:25:
./include/agg_renderer_outline_aa.h:1378:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type
'const agg::line_profile_aa' drops qualifiers
line_profile_aa& profile() { return *m_profile; }
^~~~~~~~~~
1 error generated.
gmake[2]: *** [agg_line_profile_aa.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/agg/work/agg-2.5/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/agg/work/agg-2.5/src'
gmake: *** [all-recursive] Error 1
*** Error code 1
Stop in /usr/ports/graphics/agg.
*** Error code 1
Stop in /usr/ports/graphics/mapserver.
*** Error code 1
>How-To-Repeat:
>Fix:
Try building graphics/mapserver on FreeBSD 9.0-BETA2/amd64 (the optimization flags do not matter, although this report shows strenthened options selected, but it also fails with weaker set options).
>Release-Note:
>Audit-Trail:
>Unformatted:
rn *m_profile; }
More information about the freebsd-ports-bugs
mailing list