From 06760b8cfc8c03108a876bfacfa9bff44380e3ed Mon Sep 17 00:00:00 2001 From: Christopher Albert Date: Sat, 23 Nov 2024 20:07:32 +0100 Subject: [PATCH] More debug flags --- examples/issue41_abstract_classes/Makefile | 4 ++-- examples/issue41_abstract_classes/myclass_impl.f90 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/issue41_abstract_classes/Makefile b/examples/issue41_abstract_classes/Makefile index ab57882d..958a3798 100644 --- a/examples/issue41_abstract_classes/Makefile +++ b/examples/issue41_abstract_classes/Makefile @@ -12,12 +12,12 @@ test_abstract_classes.x: main.f90 myclass_base.o myclass_impl.o myclass_factory. wrapper: myclass_base.o myclass_impl.o myclass_factory.o f90wrap -m itest -P myclass_impl.f90 myclass_factory.f90 -v - f2py-f90wrap --build-dir . -c -m _itest \ + f2py-f90wrap --build-dir . -c -m _itest --opt="-O0 -g" \ f90wrap_myclass_impl.f90 f90wrap_myclass_factory.f90 \ myclass_base.o myclass_impl.o myclass_factory.o %.o : %.f90 - $(FC) $(FCFLAGS) -c $< -o $@ + $(FC) $(FCFLAGS) -c -g -O0 $< -o $@ clean: rm -f *.o f90wrap*.f90 *.so *.mod *.x diff --git a/examples/issue41_abstract_classes/myclass_impl.f90 b/examples/issue41_abstract_classes/myclass_impl.f90 index a7cab804..d0539bf4 100644 --- a/examples/issue41_abstract_classes/myclass_impl.f90 +++ b/examples/issue41_abstract_classes/myclass_impl.f90 @@ -21,7 +21,7 @@ end subroutine get_value_impl subroutine myclass_impl_finalise(self) type(myclass_impl_t), intent(inout) :: self - print *, "Finalizing myclass_impl_t" + print *, "Finalising myclass_impl_t" end subroutine myclass_impl_finalise end module myclass_impl