On Linux, it won't go past the va_start saying that va_start is being called in a function that doesn't have a list of arguments. I tried to figure out how to initialize a va_list to pass it and can't find any documentation anywhere. Looking at headers, etc. It would appear that this may be internal to the compiler. What if just NULL was sent into DXqmessage? Any other ideas?

David Thompson:
 |Update of /src/master/dx/src/exec/dpexec
 |In directory opendx.watson.ibm.com:/tmp/cvs-serv51818
 |
 |Modified Files:
 |      remote.c
 |Log Message:
 |Don't need to call va_start or va_end on a va_list that is being
 |passed. These functions are for retreiving data from a va_list.

nolist is a va_list.  Added those to suppress a "read but not initialized
warning" -- the "DXqmessage (who, msg, nolist)" call is passing garbage for
the third arg which isn't used.

Randy

--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)257-8530

Reply via email to