Opened 13 years ago

Closed 13 years ago

#111 closed task (worksforme)

test with more recent gcc versions

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: high Milestone: Release-2.0
Component: Building/Installation Version: 1.1.10
Severity: major Keywords:
Cc:

Description

In #109, Brent had problems with compiling the code with gcc 4.2.4. Need to test with this (or a more recent version) to make sure it doesn't pick up errors.

Details:

# /opt/local/bin/gfortran-mp-4.2 --version
GNU Fortran (GCC) 4.2.4

# ./configure F77=/opt/local/bin/gfortran-mp-4.2
...
[[Check the Makefile for the F77 option and WCSLIB flag]]
make clean
make
...
src/Cubes/drawBlankEdges.cc: In function 'void duchamp::drawBlankEdges(float*, int, int, duchamp::Param&)':
src/Cubes/drawBlankEdges.cc:56: error: 'cpgtest' was not declared in this scope
src/Cubes/drawBlankEdges.cc:62: error: 'DUCHAMP_BLANK_EDGE_COLOUR' was not declared in this scope
make: *** [src/Cubes/drawBlankEdges.o] Error 1

Change History (3)

comment:1 Changed 13 years ago by MatthewWhiting

Status: newassigned

The machine draco has gcc-4.3.2 so that should be the place to do this testing.

Also relate this to #108

comment:2 Changed 13 years ago by MatthewWhiting

Had initial problems with gfortran on draco, but using the configure script + make (rather than my separate development Makefile) actually works fine (subject to removing the '-bind_at_load' flag - need to check if this is needed on mac os, which was why it was put in)

comment:3 Changed 13 years ago by MatthewWhiting

Resolution: worksforme
Status: assignedclosed

Once Vince enabled pgplot on draco, I was able to build properly and run the verification script. Some changes were necessary to the configure script to find the correct pgplot directory.

Done for 1.1.11's purposes.

Note: See TracTickets for help on using tickets.