On 28/12/06 21:08:15, Josef Whiter wrote:
Hello,
This patch is off of the latest SVN (pulled a couple of hours ago). Say you open up the main geany makefile, in the base directory of the geany source (lets say /sources/geany), and you do a make all and there is an error or a warning in one of the files in src/somefile.c, if you click on that error in the compile window, it will tell you that /sources/geany/somefile.c does not exist, instead of properly opening /sources/geany/src/somefile.c. In the same vein, if you have "Use indicators to show compile errors" turned on and you have somefile.c opened, the indicators will not show up. This patch makes geany properly parse the "Entering directory" messages from gcc in order to determine the proper path to the file in question. I have tested this patch and it works for me.
Thanks for this, applied in SVN r1149 with only minor changes.
Regards, Nick