[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    RE: CXX-DEV: __h_errno() symbol
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2000-12-21 22:35:11
[Download RAW message or body]

>It is defined in libc on 11.0OS:
>libc.2:__h_errno    |    307420|extern|entry  |
>libc.a:__h_errno    |      3392|extern|entry  |$CODE$

-----Original Message-----
>From: Subbarao Gaddamadugu [mailto:subbarao@inktomi.com]
>__h_errno()
          ^^

If you look closely at the symbol you'll see it has been demangled, "()".
That means your header is bad and doesn't have an 'extern "C"' around
the declaration of the function.

CR JAGab82377
/usr/include/netdb.h definitions not extern "C" for C++ programs
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic