Re: glibmm issue

Maciek Kolbusz <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I had more similar issues after adding gtkmm headers to my project. First this:

/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:58: error: expected
identifier before numeric constant
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:58: error: expected `}'
before numeric constant
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:58: error: expected
unqualified-id before numeric constant
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:62: error: expected `)'
before ‘error_code’
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:63: error: expected `)'
before ‘*’ token
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:64: error: ‘Code’ does
not name a type
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:67: error: expected
unqualified-id before ‘private’
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:76: error: ‘friend’ used
outside of class
/usr/include/gtkmm-2.4/gtkmm/recentmanager.h:80: error: expected
declaration before ‘}’ token

I fixed that by commenting out line 61 of
/usr/include/net-snmp/library/snmp_impl.h where WRITE was defined.
Then I got this error:

/usr/include/gtkmm-2.4/gtkmm/stock.h:172: error: expected
unqualified-id before numeric constant

which disappeared after I commented out line 68 of
/usr/include/net-snmp/library/snmp_impl.h where UNDO was defined. SNMP
get and getnext methods seem to work fine with these changes.

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.