Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » fortran error in eclipse ide(Using an Eclipse Juno for a C/C++/fortran project as an IDE, where facing an issuse to build a particular fortran code. )
fortran error in eclipse ide [message #1861405] Wed, 11 October 2023 12:18
yeshwanth mylapalle is currently offline yeshwanth mylapalleFriend
Messages: 1
Registered: October 2023
Junior Member
The code base has C/C++/fortran source files using an Eclipse Juno as an IDE for building the project. I use GCC 6 and Gfortran-5 as compiler to build the project, where for a particular line of code in fortran, the array statement is accepting only positive variable but not the negative variable. The sample array statement looks like this,
DIMENSION A(1,10)
PARAMETER(CON=40)
DATA A/-100000.0, -CON, -CON, -CON, 0.0, 0.0 ,CON, 0.0, 0.0, 0.0/

The compiler shows Syntax error in DATA Statement at (1).

Instead of variable , if i give value it is compiling and building. But it is not the right approach to follow.

Thanks for understading.

Waiting for the reply at the earliest.
Previous Topic:Eclipse crash
Next Topic:GEF installation error
Goto Forum:
  


Current Time: Sat Apr 27 21:40:13 GMT 2024

Powered by FUDForum. Page generated in 0.08483 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top