diff -ru sip-4.9.2.orig/sipgen/gencode.c sip-4.9.2/sipgen/gencode.c
--- sip-4.9.2.orig/sipgen/gencode.c	2009-11-22 18:58:49.000000000 +0100
+++ sip-4.9.2/sipgen/gencode.c	2009-11-22 19:01:07.000000000 +0100
@@ -6331,7 +6331,7 @@
     if (vhd->cppsig->nrArgs > 0)
     {
         prcode(fp, ",");
-        generateCalledArgs(cd->iff, vhd->cppsig, Declaration, FALSE, fp);
+        generateCalledArgs(cd->iff, vhd->cppsig, Declaration, TRUE, fp);
     }
 
     *vhd->cppsig = saved;
@@ -6959,7 +6959,7 @@
     if (vhd->cppsig->nrArgs > 0)
     {
         prcode(fp,",");
-        generateCalledArgs(NULL, vhd->cppsig, Definition, FALSE, fp);
+        generateCalledArgs(NULL, vhd->cppsig, Definition, TRUE, fp);
     }
 
     *vhd->cppsig = saved;
