Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from mapedit/chunklst.cc:51:
- mapedit/gtk_redefines.h: In instantiation of 'static T1* {anonymous}::gtk_cast_internal<T1, T2>::cast(T2*) [with T1 = _GtkAdjustment; T2 = _GTypeInstance]':
- mapedit/gtk_redefines.h:43:40: required from 'T1* gtk_cast(T2*) [with T1 = _GtkAdjustment; T2 = _GTypeInstance]'
- mapedit/chunklst.cc:804:31: required from here
- mapedit/gtk_redefines.h:29:11: error: cast from '_GTypeInstance*' to '_GtkAdjustment*' increases required alignment of target type [-Werror=cast-align]
- 29 | return reinterpret_cast<T1 *>(obj);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1plus.exe: some warnings being treated as errors
- make: *** [<eingebaut>: mapedit/chunklst.o] Fehler 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement