- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am using Intel Visal Fortran Compiler for Windows -- all code is written in F77 and is very simple -- with Microsoft Visual Studio 2008.
When I try to start a new Project and then copy my *.f files from a previous Project directory (by hand; i.e., not via Microsoft Visual Studio 2008), and add them to my new project, and then compile, I get this error:
error #5508: Declaration of routine 'TEST_PWLIRA_ON_A_CIRCLE' conflicts with a previous declaration C:\Users\egp\Documents\Visual Studio 2008\Projects\EGP_PWLIRA\EGP_PWLIRA\Test_PWLIRA_on_a_Circle.f
This happens for all, or almost all, of the routines that I want to use from previous projects. I do edit and revise the code in the *.f files before trying to compile them.
I have little or no knowledge of Microsoft Visual Studio 2008, and it's conventions, etc. I am a very experienced Fortran programmer on everything from Sun workstations and Cray computers (remember those?) to you name it. But Microsoft Visual Studio 2008 produces errors that make no sense to me and seem to have to do with it's idea of what a project and a solution is, etc.
Thanks in advance for any help you can give.
- Gerry Puckett
I am using Intel Visal Fortran Compiler for Windows -- all code is written in F77 and is very simple -- with Microsoft Visual Studio 2008.
When I try to start a new Project and then copy my *.f files from a previous Project directory (by hand; i.e., not via Microsoft Visual Studio 2008), and add them to my new project, and then compile, I get this error:
error #5508: Declaration of routine 'TEST_PWLIRA_ON_A_CIRCLE' conflicts with a previous declaration C:\Users\egp\Documents\Visual Studio 2008\Projects\EGP_PWLIRA\EGP_PWLIRA\Test_PWLIRA_on_a_Circle.f
This happens for all, or almost all, of the routines that I want to use from previous projects. I do edit and revise the code in the *.f files before trying to compile them.
I have little or no knowledge of Microsoft Visual Studio 2008, and it's conventions, etc. I am a very experienced Fortran programmer on everything from Sun workstations and Cray computers (remember those?) to you name it. But Microsoft Visual Studio 2008 produces errors that make no sense to me and seem to have to do with it's idea of what a project and a solution is, etc.
Thanks in advance for any help you can give.
- Gerry Puckett
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Again,
Apparently, I sent a similar post in April and got an answer that worked for me.
My apologies ...
- Gerry
Apparently, I sent a similar post in April and got an answer that worked for me.
My apologies ...
- Gerry

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