Hello,

I can confirm this issue with gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu2)...

THe main problem is the C++ comment after the line continuation
character, fix:
diff --git a/freewins.c b/freewins.c
index db7f895..adfedc3 100644
--- a/freewins.c
+++ b/freewins.c
@@ -942,7 +942,7 @@ static Bool initiateFWScale (CompDisplay *d, CompAction *act
     fww->destScaleY = fww->scaleY + d; \
     fww->aTimeRemaining = freewinsGetRotateIncrementTime (w->screen); \
     fww->cTimeRemaining = freewinsGetRotateIncrementTime (w->screen); \
-    fww->doAnimate = TRUE; \ // Start animating
+    fww->doAnimate = TRUE;
 
 #define ROTATE_INC freewinsGetRotateIncrementAmount (w->screen)
 #define NEG_ROTATE_INC freewinsGetRotateIncrementAmount (w->screen) *-1

But then still
> LANG= make
compiling : freewins.c -> build/freewins.lofreewins.c: In function 'FWScaleUp':
freewins.c:1010: error: incompatible type for argument 1 of 
'findWindowAtDisplay'
freewins.c: In function 'FWScaleDown':
freewins.c:1024: error: incompatible type for argument 1 of 
'findWindowAtDisplay'
make: *** [build/freewins.lo] Error 1

I stongly recommend, that this bug macro should be converted to a function,
this will reduce the code size, makes it more debugable, etc, pp...

Roland "Test-tools" Baer



On Sun, Mar 09, 2008 at 04:40:13PM +0100, [EMAIL PROTECTED] wrote:
> Executing make
> freewins.c: In function ‘FWRotateUp’:
> freewins.c:956: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateDown’:
> freewins.c:965: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateLeft’:
> freewins.c:974: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateRight’:
> freewins.c:983: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateClockwise’:
> freewins.c:992: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateCounterclockwise’:
> freewins.c:1001: error: stray ‘\’ in program
> freewins.c: In function ‘FWScaleUp’:
> freewins.c:1010: error: incompatible type for argument 1 of 
> ‘findWindowAtDisplay’
> freewins.c:1010: error: stray ‘\’ in program
> freewins.c: In function ‘FWScaleDown’:
> freewins.c:1024: error: incompatible type for argument 1 of 
> ‘findWindowAtDisplay’
> freewins.c:1024: error: stray ‘\’ in program
> make: *** [build/freewins.lo] Error 1
> 
> Executing make install
> freewins.c: In function ‘FWRotateUp’:
> freewins.c:956: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateDown’:
> freewins.c:965: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateLeft’:
> freewins.c:974: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateRight’:
> freewins.c:983: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateClockwise’:
> freewins.c:992: error: stray ‘\’ in program
> freewins.c: In function ‘FWRotateCounterclockwise’:
> freewins.c:1001: error: stray ‘\’ in program
> freewins.c: In function ‘FWScaleUp’:
> freewins.c:1010: error: incompatible type for argument 1 of 
> ‘findWindowAtDisplay’
> freewins.c:1010: error: stray ‘\’ in program
> freewins.c: In function ‘FWScaleDown’:
> freewins.c:1024: error: incompatible type for argument 1 of 
> ‘findWindowAtDisplay’
> freewins.c:1024: error: stray ‘\’ in program
> make: *** [build/freewins.lo] Error 1
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.compiz-fusion.org/mailman/listinfo/dev
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
_______________________________________________
Dev mailing list
[email protected]
http://lists.compiz-fusion.org/mailman/listinfo/dev

Reply via email to