Compile errors when building a Windows agent

D. R. Evans N7DR____arrl.net
Mon Sep 17 18:41:31 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14 Sep 2001 at 21:32, D. R. Evans wrote:

> So since I always use the proper STL library header files, I get a collision
> with the old library header files used by agent++/snmp++.
> 
> If I'm dead lucky (ha!) just changing all the file names in the agent++ and
> snmp++ code will fix everything. But that's not a task for the late evening
> (which is the time here). Maybe I'll get brave and try it over the weekend.
> 

It's hard to be certain, because VC++ unhelpfully doesn't seem to provide a tree 
that describes how a particular header file got included, but as far as I can 
tell, the only SNMP++ file that includes <iostream.h> is smi_val.h; but renaming 
that include to <iostream> doesn't seem to make any difference; the old AT&T 
stream library headers are still getting included from somewhere, and so they 
are still colliding with the STL stream library names.

If anyone has successfully built an agent using STL and agent++ under Windows, 
I'd very much like to know how they removed the name collisions.

  Doc Evans



- ----------------------------------------------------------
D.R. Evans N7DR / G4AMJ                      N7DR at arrl.net

A dead lawyer in a Colorado ski resort and an Australian detective 
who 
doesn't play by the rules: 
   "All Or Nothing" is now available. 
See http://www.sff.net/people/N7DR/drevans.htp for details.
- ----------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBO6YnvGnXrLw2KRK4EQL7BACfYMPaAPmQNs5PpYgyILcu2KGI4bEAoPwG
U86Md+7j5EFdHdv8FcH8AQsm
=LgyI
-----END PGP SIGNATURE-----



More information about the AGENTPP mailing list