Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Errors are not appearing in the text editor

I am using gnu fortran version 4.2.1.

When I right click on properties I do not see Fortran Build.
This is what I see:
Resource Builders
>C/C++ General
C/C++ Include Paths ...
C/C++ Make Project
C/C++ Project Path
(etc)

When I go to C/C++ Make Project > Error Parser 
all error parsers are selected.

I started this project over a year ago from a previous version of
eclipse and photran.  To get my project into the current workspace after
upgrading I selected import then archive file.

Here are a two examples of the errors
Example 1
program main
	implicit none
	write(*,*) 'hello world
	write(*,*) hello_world
	!call abc  !there is no subroutine called abc
end program main

The Console output tells me where the errors are but the location is not
noted in the file and when i click on the Problems tab at the bottom of
the window the only error shown is 
make: *** [all] Error 1 Trial5 line 0

Example 2

program main
	implicit none
	write(*,*) 'hello world'
	!write(*,*) hello_world
	call abc  !there is no subroutine called abc
end program main

This time the error location is shown in the vertical ruler and the
Problems tab at the bottom of the window shows
make: *** [all] Error 1 Trial5 line 0
undefined reference to 'abc_' hello.f90 line 

Hope this helps
David

On Wed, 2008-04-09 at 14:12 -0500, Jeffrey Overbey wrote:
> > When I compile my program that contains an error the location is not
> > shown in the editor window or in the vertical ruler.  When I click on
> 
> What Fortran compiler are you using?
> 
> In general, if you
> * Right-click on the project,
> * Choose Properties,
> * Select Fortran Build > Settings in the tree, and
> * Click on the Error Parsers tab,
> you should make sure the "error parser" for your compiler is selected.
> 
> Jeff
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran



Back to the top