PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Function returning array not allowed

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
kunalrao57090



Joined: 25 Jun 2010
Posts: 13

PostPosted: Sun Jul 18, 2010 6:52 pm    Post subject: Function returning array not allowed Reply with quote

Hello

I am getting this error while compiling some codes using pgcc and pgf90 compilers in the PGI Cygwin environment shipped with PGI C/C++/Fortran Workstation:

--------------------------------------------

PGC-S-0082-Function returning array not allowed (.\H5f90proto.h: 48)
PGC-S-0069-Dummy parameter specification not allowed here (.\H5f90proto.h: 48)

--------------------------------------------

It compiles well with gcc and g95 compilers. Is it an issue with the PGI compiler ?? Kindly let me know if you have any suggestion.

Thanks & Regards,
Kunal
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6119
Location: The Portland Group Inc.

PostPosted: Wed Jul 21, 2010 10:14 am    Post subject: Reply with quote

Hi Kunal,

I suspect this is a configuration or porting issue. The function in questions is returning a "int_f", though exactly what "int_f" is I'm not sure nor can I find the definition in the headers.

Though again, PGI is a native Windows compiler, not a CYGWIN compiler. The CYGWIN shell is only used as a convenience. Hence, you should be following the HDF5 build instructions for Visual Studio and replace the Intel compiler with PGI.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group