ATF-log archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

#60: Compiler error with gcc 4.2.1 on FreeBSD



#60: Compiler error with gcc 4.2.1 on FreeBSD
--------------------------------------------------+-------------------------
 Reporter:  Garrett Cooper <gcooper@...>          |       Owner:  jmmv
     Type:  defect                                |      Status:  new 
 Priority:  major                                 |   Milestone:  0.11
Component:  BUILD                                 |     Version:  HEAD
 Keywords:  0.10                                  |  
--------------------------------------------------+-------------------------
 The following error occurs when attempting to compile atf-check/atf-
 check.cpp:

 libtool: link: ar cru atf-c++/.libs/libtest_helpers.a
 atf-c++/test_helpers.o
 libtool: link: ranlib atf-c++/.libs/libtest_helpers.a
 libtool: link: ( cd "atf-c++/.libs" && rm -f "libtest_helpers.la" && ln -s
 "../libtest_helpers.la" "libtest_helpers.la" )
 depbase=`echo atf-check/atf-check.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;
 c++ -DHAVE_CONFIG_H -I.      -O2 -pipe -fno-strict-aliasing -pipe -O2
 -march=nocona -fno-strict-aliasing -pipe -O2  -g -Wall -Wcast-qual -Werror
 -Wextra -Wno-unused-parameter -Wpointer-arith -Wredundant-decls -Wreturn-
 type -Wshadow -Wsign-compare -Wswitch -Wwrite-strings -D_FORTIFY_SOURCE=2
 -Wabi -Wctor-dtor-privacy -Wno-deprecated -Wno-non-template-friend -Wno-
 pmf-conversions -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-
 promo -Wsynth -MT atf-check/atf-check.o -MD -MP -MF $depbase.Tpo -c -o
 atf-check/atf-check.o atf-check/atf-check.cpp && mv -f $depbase.Tpo
 $depbase.Po
 cc1plus: warnings being treated as errors
 atf-check/atf-check.cpp:600: warning: 'atf_check' has a field
 'atf_check::m_status_checks' whose type uses the anonymous namespace
 atf-check/atf-check.cpp:600: warning: 'atf_check' has a field
 'atf_check::m_stdout_checks' whose type uses the anonymous namespace
 atf-check/atf-check.cpp:600: warning: 'atf_check' has a field
 'atf_check::m_stderr_checks' whose type uses the anonymous namespace
 *** Error code 1

 Stop in
 /scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
 *** Error code 1

 Stop in
 /scratch/freebsd/perforce/user/gcooper/ports/devel/atf/work/atf-0.10.
 *** Error code 1

 Stop in /scratch/freebsd/perforce/user/gcooper/ports/devel/atf.

 The config.log is attached.

-- 
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/60>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework


Home | Main Index | Thread Index | Old Index