HomeFreeBSD

editors/abiword: unbreak with glib 2.76

Description

editors/abiword: unbreak with glib 2.76

ap_Dialog_Goto.cpp:72:27: error: expected unqualified-id

s_pJumpTargets[0] = ::g_strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Page));
                      ^

/usr/local/include/glib-2.0/glib/gstrfuncs.h:208:3: note: expanded from macro 'g_strdup'

(__builtin_constant_p ((STR)) ?                                             \
^

ap_Dialog_Goto.cpp:73:27: error: expected unqualified-id

s_pJumpTargets[1] = ::g_strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Line));
                      ^

/usr/local/include/glib-2.0/glib/gstrfuncs.h:208:3: note: expanded from macro 'g_strdup'

(__builtin_constant_p ((STR)) ?                                             \
^

ap_Dialog_Goto.cpp:74:27: error: expected unqualified-id

s_pJumpTargets[2] = ::g_strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Bookmark));
                      ^

/usr/local/include/glib-2.0/glib/gstrfuncs.h:208:3: note: expanded from macro 'g_strdup'

(__builtin_constant_p ((STR)) ?                                             \
^

ap_Dialog_Goto.cpp:76:27: error: expected unqualified-id

s_pJumpTargets[3] = ::g_strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_XMLid));
                      ^

/usr/local/include/glib-2.0/glib/gstrfuncs.h:208:3: note: expanded from macro 'g_strdup'

(__builtin_constant_p ((STR)) ?                                             \
^

ap_Dialog_Goto.cpp:77:27: error: expected unqualified-id

s_pJumpTargets[4] = ::g_strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Annotation));
                      ^

/usr/local/include/glib-2.0/glib/gstrfuncs.h:208:3: note: expanded from macro 'g_strdup'

(__builtin_constant_p ((STR)) ?                                             \
^

PR: 270087
Reported by: antoine (via exp-run)

Details

Provenance
jbeichAuthored on Mar 16 2023, 1:06 PM
Parents
R11:9a23b33ce955: devel/rubygem-glib2: unbreak with glib 2.76
Branches
Unknown
Tags
Unknown