Find the answer to your Linux question:
Results 1 to 2 of 2
Using mpicc compiler i take the follow warning for each file of my code which include only one function: In file.h i have all prototypes for functions. file.h(511): warning #92: ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    24

    Warning #92 of c

    Using mpicc compiler i take the follow warning for each file of my code which include only one function:
    In file.h i have all prototypes for functions.

    file.h(511): warning #92: identifier-list parameters may only be used in a function definition

    What mean this?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Without seeing what you are doing I can only surmise that you are trying to define the function in the header, not in a source (not header) file.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...