[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 235682] New: khtml build failure: css_webfont fails to compile
From:       Robert Marmorstein <rmmarm () sdf ! lonestar ! org>
Date:       2010-04-28 23:28:23
Message-ID: bug-235682-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=235682

           Summary: khtml build failure: css_webfont fails to compile with
                    gcc-4.5
           Product: konqueror
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: rmmarm@sdf.lonestar.org


Version:            (using Devel)
Compiler:          gcc-4.5.0 
OS:                Linux
Installed from:    Compiled sources

When trying to compile kdelibs using gcc-4.5.0, build fails on css_webfont with
the following message:

{standard input}: Assembler messages:
{standard input}:21101: Error: symbol
`_ZZN3WTF6VectorIPN3DOM17CSSFontFaceSourceELm0EE2atEmPPS3_mE19__PRETTY_FUNCTION__'
is already defined
make[2]: *** [khtml/CMakeFiles/khtml.dir/css/css_webfont.o] Error 1

I don't know for sure what is causing this.  It seems to be related to the
WTF::Vector template in kjs/wtf/Vector.h.

(In fact, commenting out the code in css_webfont that causes the problem simply
triggers the same sort of message other places that template is used).

However, I was able to work around this problem by simply adding:

remove_definitions(-DQT_NO_STL) 

to the CMakeLists.txt file.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic