Return type (re)declared differently after use.


I am getting a compilation error saying “Return type (re)declared after use.” on line 502 in a network application I am creating.

I have tried checking the different variables used in the function on line 502, but I am not trying to redeclare any of them after use.

Have anyone encountered this same error, or have any clue as to what the issue might be?


Can you post a snippet of the code so we can see what is being declared? Make sure the details in the /*** beginheader */ block matches the function definition if it is in a lib file.



thank you, but I figured it out myself.

I was trying to use a function I had written before it had been interpreted by the compiler.

The error was solved by prototyping this function in the start of the file.

Tor Erik