The gcc compiler is giving following error in my code. Can Anyone help, why is this warning popping up.
"void format, different type arg (arg 1)"
The function's on which warning is given, looks like this:
void fprint_stderr_sockarray(int* sockets)
{
..........
..........
} (2 Replies)
Hi mates,
I am a new comer of this forums.
I have a problem while using function "fread(buffer, size, number, file-pointer)" to read a binary file.
While I used the "fread()" to read the binary file under Solaris UNIX System, it worked very well. But it gets a incorrect result... (6 Replies)
hi ,
iam trying to install gcc compiler on a sun sparc sytem running solaris 9 .
i have searched the internet for documentaion on how to install gcc , but the steps are unclear .
could anyone help me with a document , because the documentaions i found are really confusing .
thank you... (1 Reply)
i write c++ code it run perfectely with g++ compiler but same code when i compile with
GCC compiler it gives linker error , followed these linker error
/tmp/ccfZtXOQ.o(.text+0x22): In function `main':
conf_system.cpp: undefined reference to `operator new(unsigned int)'... (5 Replies)
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
I get the following gcc warning. I do not see a double being declared anywhere... how can I fix this?
(This code is just an example, I realize that the first if bracket will never be executed.)
#include <stdio.h>
int main(void)
{
float A = 0.0;
int B = 150;
if(B == 0)
... (1 Reply)
I get this gcc warning, but the function works correctly. Any ideas?
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main(void)
{
char A = "";
strcat(A, "Hello World!");
int COUNT = 0;
while(A)
{
A = (char)(tolower(A));
... (7 Replies)
Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Discussion started by: vishal.973s
5 Replies
LEARN ABOUT REDHAT
tiffwarning
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)