GCC / Make – error: returning ‘VteReaper *’ {aka ‘struct _VteReaper *’} from a function with incompatible return type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]

If using ./configure, this can be mitigated by setting CFLAGS and CXXFLAGS as such:

./configure CFLAGS='-Wno-error=incompatible-pointer-types' CXXFLAGS='-Wno-error=incompatible-pointer-types'Code language: JavaScript (javascript)

Leave a Reply