I don't believe that the program in post #1 generated the warning in the screenshot. Note that the warning uses the word "parameter", which is a strong clue. I'll wager that the program that actually generated that message defined main() using pre-ANSI syntax, which is what happens if int i; is moved up a line, so that it resides outside the braces.
Regards,
Alister
Hey,
This is probably going to sound like an immensely stupid and dull question, but can someone please tell me whether the forward slash on the web address (http://) signifies that it is running on UNIX?
hanks (1 Reply)
Substituting the / for the \ I came up with this:
sed s/\\\\usr\\\\qm/\\\\\\\\qmi/g
Can anyone explain to me please, why I have to pass the slash four times?
:confused: (2 Replies)
Hi everyone! :)
I've been asked to write an article breaking down the basics of UNIX password information etc., and I've come across something in which I cannot find a definition for within Google.
Very simply, can anyone tell me what the difference is between a standard UNIX password, and... (4 Replies)
hi all,
im trying to use a sed command to remove all occurenes of \p\g
what i used so far is : sed 's!\p\g!!g' file
but this doesnt work ?
Any ideas, thanks for helping. (2 Replies)
Need help in finding pattern then replacing pattern that contains multiple
slashes ..
ex .
<imgp src="Attention_web.eps.jpg" align="left">
<imgp src="NewToday062308.eps.jpg">
replace with
<imgp src="/ww2/adpay/liner/Attention_web.eps.jpg" align="left">
<imgp... (2 Replies)
Since I'm usually on windows I've came across different shells like Cygwin, Hamilton, and MKS. I've been working in csh most of the time, so porting scripts from one shell to another can be fairly annoying and confusing.
When specifying a directory I noticed that certain shells do not recognize... (1 Reply)
I'm trying to replace an alias with its match using sed but the match contains forward slashs so it causes the sed command to throw a garbled message..
cmd_list.txt sample
AIX_myserver_1011_vintella.sudoers_cmndalias sample
I'm trying to use the below but like I say it throws a... (5 Replies)
When I try to access my website's Administrator page (mysite.com/administrator), I'm redirected to (mysite.comadministrator), as if the slash was removed from the URL
The funny thing is that I can access it if I enter 2 slashes (mysite.com//administrator)
Any ideas of what might be causing it? (4 Replies)
I have got the following contents and please can you advise me on how to extract the following data that appears between the very first slashes.
Thanks
i.e 576 , 10000, 1299
3/576/GPP///////NONE/0
50/10000/GPP///D4////GPP/0
234/1299/GPP///////NONE/0 (3 Replies)
Discussion started by: Sudhakar333
3 Replies
LEARN ABOUT REDHAT
tiffsetwarninghandler
TIFFWarning(3T)TIFFWarning(3T)NAME
TIFFWarning, TIFFSetWarningHandler - library warning interface
SYNOPSIS
#include <tiffio.h>
void TIFFWarning(const char* module, const char* fmt, ...)
#include <stdargh.h>
typedef void (*TIFFWarningHandler)(const char* module, const char* fmt, va_list ap);
TIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler handler);
DESCRIPTION
TIFFWarning invokes the library-wide warning handler function to (normally) write a warning message to the stderr. The fmt parameter is a
printf(3S) format string, and any number arguments can be supplied. The module parameter is interpreted as a string that, if non-zero,
should be printed before the message; it typically is used to identify the software module in which a warning is detected.
Applications that desire to capture control in the event of a warning should use TIFFSetWarningHandler to override the default warning han-
dler. A NULL(0) warning handler function may be installed to suppress error messages.
RETURN VALUES
TIFFSetWarningHandler returns a reference to the previous error handling function.
SEE ALSO libtiff(3T), TIFFError(3T), printf(3S)
October 15, 1995 TIFFWarning(3T)