Subject: Real Time Linux fuel injection]]
From: Rotary Engine
Date: 1/14/2010, 5:08 PM
To: AAA Put this in the To box

When I compile this extremely simple program I get this cryptic error:

"warning: passing argument 1 of ‘printf’ from incompatible pointer type"

Here is the program.

# include <stdio.h>

int main()

{
printf(stdout, "this is a test\n");
}

What ever could be wrong? :)

Paul Lamar

-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word UTUBPLEASE
Copyright 1998-2009 All world wide rights reserved.