bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] address_aget_personal not declared in address.h


From: Anthony Quinn
Subject: [bug-mailutils] address_aget_personal not declared in address.h
Date: Mon, 8 Sep 2003 12:00:26 -0400

I have a program that I put together to test out mailutils written in 'C'
and I noticed there was a function called address_aget_personal inside of
address.c so I used it and everything compiled and linked fine...then I
ported my code over to "C++" and noticed that I recieved a
address_aget_personal (not defined first use error) when I compiled.

address.h yielded that this function was indeed not defined.  Not sure if
this was a typo or if this function should not be used?

I defined the function inside of address.h as follows:

extern int address_aget_personal
       __P ((address_t addr, size_t no, char **buf));


And everything compiles and links fine under g++-3.2.2 no problems.

-Anthony

This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake then
delete this e-mail from your system.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]