Re: error: expected ')' before '*' token -- What is this ?



Ram Prasad wrote:

On Jul 31, 7:33 pm, Mark Bluemel <mark_blue...@xxxxxxxxx> wrote:
Ram Prasad wrote:
We still need the definitions for all the SPF_*_t types, particularly,
SPF_result_t and SPF_request_t.

But these are standard header files

No - they are part of a specific package. Nothing standard about them as
far as the C language goes.

I do wonder whether you'd get better help about developing with this
package by posting to a forum specifically for it, rather than a general
C newsgroup. Looking here <http://www.libspf2.org/support.html> suggests
some possibilities.

But that is not a group of programmers. I simply wanted to know what
this error means
error: expected ')' before '*' token

Definetly it loooks like a syntax error , but there is absolutely no
error on that line
If I comment out the entire function and its declaration , then I dont
get this error. I just declare this function , without even defining
the code for it and gcc gives me this stupid error

Find out the definition for all the SPF_*_types in the function declaration
and definition. What do they resolve into? Do you compile in ISO C
conforming mode or in someother mode? Is the code GNU C specific? If not,
try compiling with another compiler like Intel' or MSVC.

It's highly unlikely to a gcc bug. There must be some syntax error in your
code and header files. Try to compile a minimal program that still exhibits
the error. You can do that by leaving out stuff that are not absolutely
necessary for successful compilation or for exhibiting the error.

.



Relevant Pages

  • Re: what are "import" statements exactly ?
    ... Are import statements resolved at compile time? ... Sometimes with wildcards and sometimes explicitly, with wildcards sort of not finding a subcomponent. ... java.awt.List or any other declaration of List in other packages. ... Note that javax.swing.table is a different package, ...
    (comp.lang.java.programmer)
  • Re: Dynamic Plug-in Loading with Ada
    ... Ada under GNAT/Linux. ... The package implemented procedures to run statements, ... compile subprograms and to compile packages. ... unsuited to Live Coding, but it *can* be made to work. ...
    (comp.lang.ada)
  • Re: Modelsim : Problem with generics
    ... definition in that package. ... Entities in a file with there architecture, testbench in an other with ... tried a lot of things and the "compile all" was part of it. ... But what I saw is it seems that the testbench does not recompile ...
    (comp.lang.vhdl)
  • Re: Use of libraries
    ... the entity will also contain the package that defines its interface ... 'Compile out of date' from the GUI and go right on back to simulating. ... vcom -just p *.vhd ...
    (comp.lang.vhdl)
  • Re: DebToo: Debian, Gentoo-style
    ... I just have one question for all you folks who like to compile every ... review had Debian on top, Debian was only compiled with I386. ... Also Isn't Gentoo starting to introduce binaries of packages to ease ... I wonder how the package manager keeps up with the ...
    (Debian-User)