Dominik Vogt <fvwm-workers@fvwm.org> writes:
> On Wed, Sep 18, 2002 at 08:35:22AM -0400, Dan Espen wrote:
> > Dominik Vogt <fvwm-workers@fvwm.org> writes:
> > > On Wed, Sep 18, 2002 at 10:30:52AM +0200, fvwm-workers wrote:
> Does it compile if you remove the "conts" bits?

Yes.

I changed 1 line like this:

main(int i, int * p)

Solaris:

fork> cc dominik.c
"dominik.c", line 6: warning: improper pointer/integer combination: op "="
"dominik.c", line 6: warning: improper pointer/integer combination: op "="
"dominik.c", line 11: warning: improper pointer/integer combination: op "="
"dominik.c", line 12: warning: assignment type mismatch:
        pointer to char "=" pointer to int

HPUX:

peterpan> cc dominik.c
cpp.ansi: HP92453-01 B.11.11.02 HP C Preprocessor (ANSI)
cc: "dominik.c", line 6: warning 526: Pointer implicitly converted to integral 
value in assignment.
cc: "dominik.c", line 11: warning 526: Pointer implicitly converted to integral 
value in assignment.
cc: "dominik.c", line 12: warning 604: Pointers are not assignment-compatible.

AIX:

dumbo> cc dominik.c
"dominik.c", line 6.18: 1506-068 (W) Operation between types "int*" and 
"unsigned char" is not allowed.
"dominik.c", line 6.14: 1506-068 (W) Operation between types "int" and "int*" 
is not allowed.
"dominik.c", line 11.6: 1506-068 (W) Operation between types "unsigned char" 
and "int*" is not allowed.
"dominik.c", line 12.5: 1506-068 (W) Operation between types "unsigned char*" 
and "int*" is not allowed.

-- 
Dan Espen                           E-mail: [EMAIL PROTECTED]
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to