returning the sorted set of sources in _Automoc::__call__ actually returns a list sorted on object pointers
Bug #684933 reported by
Danny Valente
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SCons Qt4 Tool |
Fix Committed
|
Medium
|
Dirk Baechle |
Bug Description
in the method _Automoc::__call__, a sorted set of sources are returned from the emitter. The call to "sorted" is done on a set of Entry objects however.
A cmp argument is needed to be passed to the sorted function in order to sort on the file names correctly instead.
Changing the line to this:
return (target, sorted(
fixes the poblem.
Otherwise, the scons builds again because the dependencies order has changed in most cases.
To post a comment you must log in.
Hi Danny,
and thanks a lot for the bug report. I'll have a look...
Best regards,
Dirk