Help for c compiling error 
Author Message
 Help for c compiling error

I was trying to compile in hpux 9.01 ( in cc compiler )

*command statement for compile

cc -c -I../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/int
erface -Ilibnurbs/nurbtess +O3 -Aa -Ac
+e -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM -DLIBRARYBUILD
libutil/mipmap.c -o libutil/mipmap.o

* c source
static void halveImagePackedPixelSlice(int components,
line number 5981   void (*extractPackedPixel)    (int, const void *,GLfloat
[]),
line number 5981   void (*shovePackedPixel)   (const GLfloat [],int, void
*),
               GLint width, GLint height, GLint depth,
               const void *dataIn, void *dataOut,
               GLint pixelSizeInBytes,
               GLint rowSizeInBytes,
               GLint imageSizeInBytes,
               GLint isSwap)

*error message

cc: "libutil/mipmap.c", line 5981: error 1710: Illegal abstract declarator
in parameter list.
cc: "libutil/mipmap.c", line 5982: error 1710: Illegal abstract declarator
in parameter list

i want to know c compile option able to compile above statement



Sun, 27 Jun 2004 01:21:12 GMT  
 Help for c compiling error
Quote:

> I was trying to compile in hpux 9.01 ( in cc compiler )

> *command statement for compile

> cc -c -I../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/int
> erface -Ilibnurbs/nurbtess +O3 -Aa -Ac
> +e -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM -DLIBRARYBUILD
> libutil/mipmap.c -o libutil/mipmap.o

> * c source
> static void halveImagePackedPixelSlice(int components,
> line number 5981   void (*extractPackedPixel)    (int, const void *,GLfloat
> []),
> line number 5981   void (*shovePackedPixel)   (const GLfloat [],int, void
> *),
>                GLint width, GLint height, GLint depth,
>                const void *dataIn, void *dataOut,
>                GLint pixelSizeInBytes,
>                GLint rowSizeInBytes,
>                GLint imageSizeInBytes,
>                GLint isSwap)

                              ^
                              |
You are missing a semicolon. -+

- Show quoted text -

Quote:

> *error message

> cc: "libutil/mipmap.c", line 5981: error 1710: Illegal abstract declarator
> in parameter list.
> cc: "libutil/mipmap.c", line 5982: error 1710: Illegal abstract declarator
> in parameter list

> i want to know c compile option able to compile above statement



Sun, 27 Jun 2004 15:11:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help with C compile error

2. Help with some compile errors

3. help with template compile errors

4. Help with DEBUG_NEW compile error

5. VC 5.0 Compile Errors (compiles fine with 4.2)

6. Need Help - NetServerEnum compile error

7. Compile Error=> Need help from expert

8. compile error : please help

9. compiling errors (help)

10. compile time error. please help

11. Receive error on compiling single link list codes--pls help

12. HELP I'm having compile errors.

 

 
Powered by phpBB® Forum Software