<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>84263</bug_id>
          
          <creation_ts>2005-03-05 20:45 0000</creation_ts>
          <short_desc>libsigc++ doesn&apos;t compile when CXXFLAGS contains -fno-exceptions</short_desc>
          <delta_ts>2005-05-07 18:49:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>joseph@cheek.com</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>joseph@cheek.com</who>
            <bug_when>2005-03-05 20:45:22 0000</bug_when>
            <thetext>test_exception_catch.cc: In member function `int f::operator()(int)&apos;:
test_exception_catch.cc:15: error: exception handling disabled, use -fexceptions to enable
test_exception_catch.cc: In member function `int my_catch::operator()()&apos;:
test_exception_catch.cc:42: error: `e&apos; undeclared (first use this function)
test_exception_catch.cc:42: error: (Each undeclared identifier is reported onlyonce for each function it appears in.)
make[2]: *** [test_exception_catch.o] Error 1
make[2]: Leaving directory `/usr/src/RedmondLinux/BUILD/libsigc++-2.0.5/tests&apos;


Reproducible: Always
Steps to Reproduce:
1.add -fno-exceptions to CXXFLAGS
2.emerge libsigc++
3.verify above failure

Actual Results:  
see above

Expected Results:  
src_compile should filter-flags -fno-exceptions</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cryos@gentoo.org</who>
            <bug_when>2005-05-07 18:49:03 0000</bug_when>
            <thetext>This flag disables a core feature of C++, and I think many C++ applications would fail without exception handling. I have added a filter-flags line for it, but I don&apos;t think this flag should be set globally for CXXFLAGS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>