- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo, I have the problem that the compiler compiles *.h-files,which I have listed in "External Dependencies".
C:CPCADGY3adgy.tarfhi96mdsrcfhi96mdcommon1.h(6) : Error: This name does not have a type, and must have an explicit type. [NKPTX]
complex*8 c0(ngwx,nx,nkptx)
------------------------------^
The "Delete-menu" for the files under "External Dependencies" does not work but does work for "Source Files" and "Header Files"
Lasse Karagiannis
C:CPCADGY3adgy.tarfhi96mdsrcfhi96mdcommon1.h(6) : Error: This name does not have a type, and must have an explicit type. [NKPTX]
complex*8 c0(ngwx,nx,nkptx)
------------------------------^
The "Delete-menu" for the files under "External Dependencies" does not work but does work for "Source Files" and "Header Files"
Lasse Karagiannis
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see any evidence that the compiler is compiling a .h file directly - indeed, it would be very difficult for that to happen because .h is not one of the file types Developer Studio thinks is a Fortran file.
My guess is that this error is occurring during compilation of a regular source file that includes common1.h You should be able to find the problem quickly.
Steve
My guess is that this error is occurring during compilation of a regular source file that includes common1.h You should be able to find the problem quickly.
Steve

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