PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 801 - Shiboken doesn't compile with G++ 4.6.0
: Shiboken doesn't compile with G++ 4.6.0
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Shiboken
: 1.0.1
: PC Linux
: P1 blocker
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-04-01 22:40 EEST by Hugo Parente Lima
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2011-04-01 22:40:11 EEST
It given the error:

In file included from
/home/hugo/src/shiboken/ext/sparsehash/google/dense_hash_map:98:0,              
                 from /home/hugo/src/shiboken/libshiboken/typeresolver.cpp:24:
/home/hugo/src/shiboken/ext/sparsehash/google/sparsehash/densehashtable.h:149:11:
error: ‘ptrdiff_t’ does not name a type
/home/hugo/src/shiboken/ext/sparsehash/google/sparsehash/densehashtable.h:199:11:
error: ‘ptrdiff_t’ does not name a type
/home/hugo/src/shiboken/ext/sparsehash/google/sparsehash/densehashtable.h:253:11:
error: ‘ptrdiff_t’ does not name a type
In file included from
/home/hugo/src/shiboken/libshiboken/typeresolver.cpp:24:0:
/home/hugo/src/shiboken/ext/sparsehash/google/dense_hash_map: In instantiation
of ‘google::dense_hash_map<std::basic_string<char>, Shiboken::TypeResolver*>’:
/home/hugo/src/shiboken/libshiboken/typeresolver.cpp:33:24:   instantiated from
here
/home/hugo/src/shiboken/ext/sparsehash/google/dense_hash_map:142:40: error: no
type named ‘difference_type’ in ‘class google::dense_hashtable<std::pair<const
std::basic_string<char>, Shiboken::TypeResolver*>, std::basic_string<char>,
std::tr1::hash<std::basic_string<char> >,
google::dense_hash_map<std::basic_string<char>,
Shiboken::TypeResolver*>::SelectKey,
google::dense_hash_map<std::basic_string<char>,
Shiboken::TypeResolver*>::SetKey, std::equal_to<std::basic_string<char> >,
std::allocator<Shiboken::TypeResolver*> >’
m
Comment 1 Hugo Parente Lima 2011-04-01 22:41:40 EEST
Prioritizing as P1, because some (me) PySide developers are using g++ 4.6.
Comment 2 Hugo Parente Lima 2011-04-02 00:34:47 EEST
Fixed in commit:

shiboken/41f0de7df5fa075a08717f0be533eadeda76dfb4
Comment 3 renato filho 2011-04-29 18:06:20 EEST
PySide release 1.0.2