]> granicus.if.org Git - graphviz/commit
neatogen: add storage-class attribute declarations in neatoprocs.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 24 Jul 2021 14:50:22 +0000 (16:50 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Dec 2021 06:35:01 +0000 (07:35 +0100)
commit66ce0247e925c62788abde9c58c710f478d6cd50
tree29364254541ac31676b207b45314500696fe3e41
parent9d74bbb52d3b1b80cff72377b78c8926fd6dec2a
neatogen: add storage-class attribute declarations in neatoprocs.h

Fixes this error using autotools with MinGW:
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: gvpack-gvpack.o: in function `init_node_edge':
C:\Users\magja\graphviz\cmd\tools/gvpack.c:271: undefined reference to `neato_init_node'
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\magja\graphviz\cmd\tools/gvpack.c:272: undefined reference to `user_pos'
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: gvpack-gvpack.o: in function `init_graph':
C:\Users\magja\graphviz\cmd\tools/gvpack.c:305: undefined reference to `init_nop'

Towards https://gitlab.com/graphviz/graphviz/-/issues/2058
lib/neatogen/neatoprocs.h