[EMAIL PROTECTED] wrote:
> On 26 Sep, Tim Mooney wrote:
> >> Grepped through the source and couldn't find any C++ style
> >> comments...
>
> > cc: Error: lighting_ui.c, line 387: Invalid statement. (badstmt)
> > // GtkWidget *spinbutton;
> > --^
There are a number of C++ style comments. I ran the following command
against the GIMP 1.1.26 source which I last updated from the CVS repository
as of sometime last night.
find . -name "*.[ch]" -print -find . -name "*.[ch]" -print -exec grep \/\/
{} \;
(NOTE: Lines starting with ./gimp indicate the name of a file containg C++
comments)
./gimp/app/channel_ops.c
// 64,64,128,128);
//
newgdisplay->disp_width,newgdisplay->disp_height,
//
newgdisplay->disp_width+newgdisplay->disp_xoffset,newgdisplay->disp_height+newgdisplay->disp_yoffset
./gimp/app/convert.c
// boxp->Rhalferror = (Rmin+Rmax)/2;
// boxp->Ghalferror = (Gmin+Gmax)/2;
// boxp->Bhalferror = (Bmin+Bmax)/2;
// R = ((b1->Rmax - b1->Rmin) << R_SHIFT) * R_SCALE;
// G = ((b1->Gmax - b1->Gmin) << G_SHIFT) * G_SCALE;
//B = ((b1->Bmax - b1->Bmin) << B_SHIFT) * B_SCALE;
./gimp/app/tile_manager.c
// fprintf(stderr,"V%p ",tm->user_data);
./gimp/plug-ins/Lighting/lighting_ui.c
// GtkWidget *spinbutton;
./gimp/plug-ins/print/print-weave.c
//putchar('\n');
./gimp/plug-ins/sel2path/spline.c
/* //HB: the above is really nice, but is there any other compiler
./gimp/plug-ins/twain/tw_func.h
#endif // _TW_FUNC_H
./gimp/plug-ins/twain/tw_util.h
#endif // __TW_UTIL_H
./gimp/plug-ins/twain/twain.h
#ifdef __BORLANDC__ //(Mentor June 13, 1996) if using a Borland
compiler
#pragma option -a2 //(Mentor June 13, 1996) switch to word
alignment
#else //(Mentor June 13, 1996) if we're using some other compiler
#endif //(Mentor June 13, 1996)
// TW_MEMREF pData; /* Based on implementation specifics, a
*/
// TW_MEMREF pData; /* Based on implementation specifics, a
*/
//#define TWSS_B 8
#ifdef __BORLANDC__ //(Mentor June 13, 1996) if we're using a Borland
compiler
#pragma option -a. //(Mentor October 30, 1996) switch back to
original alignment
#else //(Mentor June 13, 1996) if NOT using a Borland compiler
#endif //(Mentor June 13, 1996)
./gimp/plug-ins/winsnap/resource.h
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by snappy.rc
//
// Next default values for new objects
//
./gimp/plug-ins/winsnap/winsnap.c
/* //HB: update data BEFORE size change */
Cheers!
Kevin. (http://www.interlog.com/~kcozens/)
Internet:kcozens at interlog.com |"What are we going to do today, Borg?"
or:ve3syb at rac.ca |"Same thing we always do, Pinkutus:
Packet:ve3syb@va3bbs.#scon.on.ca.na| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg