- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting an error message
error #5508: Declaration of routine 'XYZ' conflicts with a previous declaration
but there is no other routine XYZ declared anywhere. I am sure of this, because I changed the name by appending random letters and each time the new name is reported in the same error message. When I remove the declaration and implementation altogether, the compiler complains about another routine in the same source file.
As this is part of a fairly large program with lots of modules in different directories, it is not easy to post the code (though not entirely impossible).
What is going wrong here? And, more importantly, how can I prevent this error to occur?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved - it was apparently a consequence of left-over stuff that was not cleaned up properly by Visual Studio's "Clean solution" task (the project in case stores some .mod in a non-default directory). Nothing like a busy day to put you off guard for this sort mixups :(.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved - it was apparently a consequence of left-over stuff that was not cleaned up properly by Visual Studio's "Clean solution" task (the project in case stores some .mod in a non-default directory). Nothing like a busy day to put you off guard for this sort mixups :(.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad I am not the only one falling into that trap. It took me quite some time to figure it out and only when a colleague reported success with building the same problem without having such difficulties I realised that it might be caused by something entirely different than the source code.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page