Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile with GFortran #2

Open
awvwgk opened this issue Mar 10, 2022 · 0 comments
Open

Fails to compile with GFortran #2

awvwgk opened this issue Mar 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@awvwgk
Copy link
Member

awvwgk commented Mar 10, 2022

Seems like recent changes break the support for GCC:

FAILED: gtb.p/source_symmetry.f90.o 
gfortran -Igtb.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -O2 -g -ffree-line-length-none -fbacktrace -fopenmp -Jgtb.p -o gtb.p/source_symmetry.f90.o -c ../source/symmetry.f90
../source/symmetry.f90:44:29:

   44 |       Type (c_ptr) :: csptr                      !C-Compatible Pointer
      |                                        1
Warning: Nonconforming tab character at (1) [-Wtabs]
../source/symmetry.f90:46:28:

   46 |       Integer :: sflen (1)                       !Needed for correct call of c_f_pointer
      |                                        1
Warning: Nonconforming tab character at (1) [-Wtabs]
../source/symmetry.f90:71:21:

   71 |       csptr = c_loc (sfsym)! Get address of dummy string
      |                     1
Error: Argument X at (1) to C_LOC shall have either the POINTER or the TARGET attribute
@awvwgk awvwgk added the bug Something isn't working label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant