On Fri, Feb 19, 2010 at 7:21 PM, Magnus Fromreide <[email protected]>wrote:

> On Fri, 2010-02-19 at 08:59 +0000, [email protected] wrote:
> > Revision: 18164
> >
> > Log Message:
> > -----------
> > Exported netsnmp_parse_args() such that the Net-SNMP applications
> > build again when libsnmp is built as a DLL.
>
> It seems that I always forget to do that.
> Would there be any interest in adding something along the lines of the
> DECL_PUBLIC/DECL_LOCAL macros on http://gcc.gnu.org/wiki/Visibility to
> the code and then get rid of the .def file?
>

Such macros area already present in win32/net-snmp/net-snmp-config.h. These
macros can be enabled by changing the line /* #undef NETSNMP_USE_DLL */ into
#define NETSNMP_USE_DLL 1. This means that the .def file is redundant.

Bart.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to