[Bug 213651] New: fails to build - hash_map

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug 213651] New: fails to build - hash_map

by Bugzilla from tropikhajma@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

           Summary: fails to build - hash_map
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings@...
        ReportedBy: tropikhajma@...


Version:           4.3.73 (using Devel)
Compiler:          Sun Studio 12 U1
OS:                Solaris
Installed from:    Compiled sources

building kdebindings 4.3.73 on opensolaris with Sun Studio 12U1 fails with
...
"/export/home/hajma/packages/BUILD/kdebindings-4.3.73svn1040395/generator/parser/lexer.h",
line 144: Warning: index hides TokenStream::index.
"/export/home/hajma/packages/BUILD/kdebindings-4.3.73svn1040395/generator/parser/lexer.h",
line 148: Warning: index hides TokenStream::index.
"/export/home/hajma/packages/BUILD/kdebindings-4.3.73svn1040395/generator/parser/parser.h",
line 36: Error: Could not open include file<ext/hash_map>.
"/export/home/hajma/packages/BUILD/kdebindings-4.3.73svn1040395/generator/parser/parser.h",
line 37: Error: __gnu_cxx is not defined.
"/export/home/hajma/packages/BUILD/kdebindings-4.3.73svn1040395/generator/parser/parser.h",
line 264: Error: A class template name was expected instead of hash_map.
...
...


hash_map is not part of the C++ standard, should be replaced with std::map

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@...
https://mail.kde.org/mailman/listinfo/kde-bindings

[Bug 213651] fails to build - hash_map

by Bugzilla from tropikhajma@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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





--- Comment #1 from tropikhajma <tropikhajma gmail com>  2009-11-08 10:25:31 ---
Created an attachment (id=38173)
 --> (http://bugs.kde.org/attachment.cgi?id=38173)
patch

this patch works for me on opensolaris, you'll likely need to refine it a bit

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@...
https://mail.kde.org/mailman/listinfo/kde-bindings

[Bug 213651] fails to build - hash_map

by Bugzilla from kde@arnorehn.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Arno Rehn <kde@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Arno Rehn <kde arnorehn de>  2009-11-08 12:42:58 ---
SVN commit 1046309 by arnorehn:

Fix compilation on compilers other than msvc and g++.

BUG:213651



 M  +5 -1      parser.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1046309

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@...
https://mail.kde.org/mailman/listinfo/kde-bindings