Package: gfortran
Version: 4:4.1.1-15

Package: libgtkmm-2.4-dev
Version: 1:2.8.8-1

The 3 files of test case I send you give a " Internal Error: printf is broken"

When : always on debian testing. (works fine on gentoo with gtkmm 2.8.3 and gfortran 4.1.1-r1) It works normally if you comment out " Gtk::Main kit(argc, argv);" in principal.cc

I don't know if it is a gfortran problem, a gtkmm problem, or a debian packaging problem.

Eric


#include <gtkmm.h>

extern "C" { 
void sub_();
}

int main(int argc, char *argv[])
{
        Gtk::Main kit(argc, argv);
//      Gtk::Window window;
//      Gtk::Main::run(window); //Shows the window and returns when it is 
closed.
        sub_();
        return 0;
}
        SUBROUTINE sub()
        implicit none
        double precision a,b,c
        a=100.1
        b=200.2
        c=(a+b)/2
        write(*,*) "value=",a,b,c
        end

        END
all: $(OBJETS)
        gfortran sub.f -c
        g++ principal.cc -O2 *.o -lgfortran `pkg-config gtkmm-2.4 --libs 
--cflags` -o test

clean:
        rm -f *.o

Reply via email to