fficxx icon indicating copy to clipboard operation
fficxx copied to clipboard

renaming static function has a bug.

Open wavewave opened this issue 6 years ago • 0 comments

When a method has the following signature,

Static bool_ "writeGML" [ cppclassref graphAttributes "ga", cppclassref string "filename" ] (Just "graphIOwriteGMLGA")

I had the following linking error.

/home/wavewave/repo/src/hs-ogdf/.cabal-sandbox/lib/x86_64-linux-ghc-8.2.2/OGDF-0.0-7k9aHHanEp4L3ynXHUDmmD/libHSOGDF-0.0-7k9aHHanEp4L3ynXHUDmmD.a(Implementation.o):(.text+0x339): undefined reference to `GraphIO_graphIOreadGMLGA'
/home/wavewave/repo/src/hs-ogdf/.cabal-sandbox/lib/x86_64-linux-ghc-8.2.2/OGDF-0.0-7k9aHHanEp4L3ynXHUDmmD/libHSOGDF-0.0-7k9aHHanEp4L3ynXHUDmmD.a(Implementation.o):(.text+0x828): undefined reference to `GraphIO_graphIOwriteGMLGA'

It looks like C shim function naming was not consistent. Need to investigate this and fix it.

wavewave avatar Jun 25 '18 02:06 wavewave