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,
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: Wed Dec 06 14:11:55 GMT 2023

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

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

Back to the top