Compile errors when building a Windows agent
D. R. Evans
N7DR____arrl.net
Sat Sep 15 05:32:47 CEST 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 14 Sep 2001 at 22:33, Ram Krishnaswamy wrote:
> I think I might have seen this problem. I think it has to do with headers
> such as iostream. Try to rearrange your header files within the source file
> you are experiencing this problem.
>
Hmmm... I'm beginning to suspect that it's caused by the fact that the
agent++/snmp++ code seems to use the old, non-standard stream libraries.
I see files being included like ios.h, iostream.h, etc. On most Unices those now
just point to the real <ios>, <iostream>, etc. files. But in Windows they really
are different (as, in fact, they should be, since the semantics for the old AT&T
stream libraries is somewhat different from the STL semantics).
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.
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/AwUBO6LL4GnXrLw2KRK4EQIgGgCfUPeuo+8N31ffwNsdopdt7lCMXSIAn1XA
95gLwQ2l+KUYH2V5Ic98aZk8
=qV5F
-----END PGP SIGNATURE-----
More information about the AGENTPP
mailing list