[PATCH] GCC 4.4 compilation & start fix
Bug #337357 reported by
Lubomir Rintel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Unassigned |
Bug Description
One more typing fix for GCC 4.4, and fix a NULL dereference on startup.
I don't really know much about this computers and internets thing, so I don't even marginally understand what happens in the code the second hunk fixes:
- object->klass = c;
c-
+ object->klass = c;
What happens when compiled with GCC 4.4 is that the call to cpp_ctor() zeroes the klass in object. (This is the implementation of the cpp_ctor:)
template <typename T>
static void invoke_
new (object) T();
}
Changed in inkscape: | |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
Committed in svn rev 21295. Thank you for your contribution!