Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
It would probably be pretty easy for you as a human (and thus being much smarter than the h2ph script) to clean up stdarg.ph to make it not emit any warnings. Avoiding new uses of h2ph and *.ph files would also be a good idea, BTW (though I'm not implying any judgement on what you are currently doing).

I've done a little more investigating and have found that the warning is being generated by my use of this line -
use Sys::Syslog qw(:DEFAULT setlogsock);

The relevant line in the stdarg.ph file is -
 undef(&__need___va_list) if defined(&__need___va_list);

And in /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h there are the two lines that you suggested would be there.

a's post is interesting too, seeing as the eventual target platform for the program is Solaris... I'll get in touch with the client on Monday and find out if they get the same problem, or whether they've resolved it in the way you suggest (tidying up the stdarg.ph).

Thanks very much for the responses :0)

Pete


In reply to Re: (tye)Re: What is __need___va_list, and do I need it? by BoredByPolitics
in thread What is __need___va_list, and do I need it? by BoredByPolitics

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-16 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found