<?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>87644</bug_id>
          
          <creation_ts>2005-04-02 01:21 0000</creation_ts>
          <short_desc>Construo 0.2.2 fails to compile with gcc-3.4</short_desc>
          <delta_ts>2005-04-03 17:09:15 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>Games</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>caslca@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>caslca@gmail.com</who>
            <bug_when>2005-04-02 01:21:02 0000</bug_when>
            <thetext>&lt;math.h&gt; included instead of &lt;cmath&gt; in vector.cxx

Reproducible: Always
Steps to Reproduce:
1. compile
2. won&apos;t compile
3.

Actual Results:  
vector.cxx: In member function `float CL_Vector::angle(const CL_Vector&amp;) const&apos;:
vector.cxx:69: error: `acos&apos; is not a member of `std&apos;
vector.cxx: In member function `CL_Vector CL_Vector::rotate(float, const
CL_Vector&amp;) const&apos;:
vector.cxx:90: error: `sin&apos; is not a member of `std&apos;
vector.cxx:91: error: `cos&apos; is not a member of `std&apos;
make[2]: *** [vector.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/construo-0.2.2/work/construo-0.2.2&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/construo-0.2.2/work/construo-0.2.2&apos;
make: *** [all] Error 2 

Expected Results:  
compile

fixing #include &lt;math.h&gt; to #include &lt;cmath&gt; in vector.cxx made manual compile
possible.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-04-02 02:29:53 0000</bug_when>
            <thetext>output from emerge --info please?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caslca@gmail.com</who>
            <bug_when>2005-04-02 11:54:16 0000</bug_when>
            <thetext>Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11-ck3 i686)
=================================================================
System uname: 2.6.11-ck3 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.20GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 12 2005, 21:32:10)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -mfpmath=387,sse -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -momit-leaf-frame-pointer -ftracer -fforce-addr&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -mfpmath=387,sse -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -momit-leaf-frame-pointer -ftracer -fforce-addr -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac acpi alsa apache2 arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo calendar cdr crypt cups curl dga divx4linux doc dvd dvdr dvdread emacs emboss encode esd evo examples exif f77 fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java javascript jpeg junit kde libg++ libgda libwww mad mikmod mime mmx mng motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pcmcia pda pdflib perl pgp php pic plotutils png pnp postgres ppds python qt quicktime readline samba sdl sockets spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales videos wifi x86 xine xinerama xml2 xmms xpm xsl xv xvid yahoo zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caslca@gmail.com</who>
            <bug_when>2005-04-02 11:55:39 0000</bug_when>
            <thetext>For more information, there is a discussion between me and hjnenc here:

http://forums.gentoo.org/viewtopic-t-317675.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vanquirius@gentoo.org</who>
            <bug_when>2005-04-03 16:16:19 0000</bug_when>
            <thetext>Created an attachment (id=55236)
construo-0.2.2.ebuild.diff

worked for me</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-04-03 17:09:15 0000</bug_when>
            <thetext>fixed in cvs.  thanks for the bug report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55236</attachid>
            <date>2005-04-03 16:16 0000</date>
            <desc>construo-0.2.2.ebuild.diff</desc>
            <filename>construo-0.2.2.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbnN0cnVvLTAuMi4yLmVidWlsZC5vcmlnCTIwMDUtMDQtMDMgMjA6MTI6NDQuMDAwMDAw
MDAwIC0wMzAwCisrKyBjb25zdHJ1by0wLjIuMi5lYnVpbGQJMjAwNS0wNC0wMyAyMDoxNDo1OS4w
MDAwMDAwMDAgLTAzMDAKQEAgLTE5LDYgKzE5LDcgQEAKIAogc3JjX2NvbXBpbGUoKSB7CiAJZWdh
bWVzY29uZiAtLWRhdGFkaXI9IiR7R0FNRVNfREFUQURJUl9CQVNFfSIgfHwgZGllCisJc2VkIC1p
ICdzOjxtYXRoLmg+OjxjbWF0aD46ZycgdmVjdG9yLmN4eCB8fCBkaWUgInNlZCBmYWlsZWQiCiAJ
ZW1ha2UgfHwgZGllICJlbWFrZSBmYWlsZWQiCiB9CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>