Hello.
I'm new to Emacs and decided to use Cedet for coding on Windows. But I had a problem with system include path: it was nil while GCC (MinGW) was in %PATH%. So I decided to fix it up.
After some work I find out that gcc return strings ended with "\r\n" while functions in semantic-gcc are waiting for "\n" ended strings. The only fix I see is changing semantic-gcc-query function. Here is the patch http://dl.dropbox.com/u/17989265/cedet-semantic-gcc.patch. The first version of fix was edited according to Alex Ott recommendation.
The second thing I've done was adding a hook (add-hook 'semantic-init-hooks 'semantic-gcc-setup) to make it work. Without it include paths are empty.
I hope it would help.
If I've done anything wrong please tell me the right direction for working.
P.S. Sorry for my bad English.