[Swan-dev] make using relative file names again

Antony Antony antony at phenome.org
Fri May 22 20:13:33 EEST 2015


make programs and gdb use relative paths again. This is not ideal, when you see an error and want open the source file in an editor. It may work if you use some kind of IDE. When using simple copy paste of file names the relative path is useless and cause hindrance.

How reproduce
"make programs" and  if there is compile error the file is relative is it is now.

../../../programs/pluto/ikev2_parent.c:2:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parent’
  * IKEv2 parent SA creation routines, for Libreswan

It is the same issue in gdb too. gdb should also show full path not relative.

I have vague recollection that a few months ago Andrew changed, he fixed it and the issue is back again.

the gods of make please bring back the full path.
-antony


More information about the Swan-dev mailing list