Author
Topic: The 28 January 2007 build is out. (Read 18759 times)

Someone mentioned a cause, he had '[' and/or ']' in his path. Our regular expressions used for the parsing of the compiler output didn't support that. I am working on a fix, should be available this evening. I will write a special post about it.Could you check if you had one of the following characters in your path (to the project or source files) :(){}[]

Small bug I discovered with this nightly but probably not new.Here a small C program, in a project (test.cbp, under windows XP and Win 2000) :

#include <stdio.h>#include <stdlib.h>

int ii=11 ;

void sub1 ( ){ int iiloc ;

iiloc = 2*ii ; printf("%d %d\n",ii,iiloc) ;}

int main(){ printf("Hello world!\n"); sub1() ; return 0;}

This program works but :If within sub1 I right click on the variable ii then click on Find declaration of ii, it works: the cursor is on ii declaration.But if I right click on iiloc (in iiloc = 2*ii or within the printf), I obtain a message declaration "Warning Not found : iiloc".On a more complex project, even some global variables are not found (but not all).

Someone mentioned a cause, he had '[' and/or ']' in his path. Our regular expressions used for the parsing of the compiler output didn't support that. I am working on a fix, should be available this evening. I will write a special post about it.Could you check if you had one of the following characters in your path (to the project or source files) :(){}[]

Hello killerbot,

You are absolutly right.In fact, I have a # in my folder name.If I remove it, it works

the $ sign is more difficult, your problem is not the same on what I am working on right now. I am fixing the output of the compiler, you have a problem on the input side to the compiler. CB support macro replacing and macros start with $ --> CB tries to replace the $1, which has no value so it ends up being removed (replaced by nothing).@Thomas, Yiannis --> any ideas on this issue ??

I did some more research by rolling back to the last version that I can build and debug with. This is on Jan 10th. It seems that the Debugger here uses the truncated path names instead of the full names. ("Docume~1" instead of "Documents and Settings"). Is there some way around this? I don't see an option to change this in the debugger settings.