This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I added new account with "'" and started NetBeans. IDE found MinGW and MSYS. MinGW works correctly, but Code Assistance is broken under Cygwin ('Code Assistance' tab contains __STDC__=1 only).
What does 'under sova's account' mean?
Created attachment 90071 [details] screenshot
I've reproduced the problem and currently tracking down the reason.
Fixed in http://hg.netbeans.org/cnd-main/rev/c980cb4e401d by switching to NativeProcessBuilder.
Does not fixed. executed command does not provide paths and macros because mingw does not understand gcc.exe -x c -E -v /dev/null Please, fix logical error in code: private String tmpFile(ExecutionEnvironment execEnv) { if (tmpFile == null && execEnv.isLocal() && Utilities.isWindows()) { try { tmpFile = File.createTempFile("xyz", ".c"); // NOI18N tmpFile.deleteOnExit(); return tmpFile.getAbsolutePath(); } catch (IOException ioe) { } } return "/dev/null"; // NOI18N }
But on Windows it will return xyz****.c file.. isn't it?
Oh, I see my mistake. Thank you for the catch. It'll return xyz***.c only the first time. Next time, when tmpFile != null, it'll return /dev/null.
Fixed: http://hg.netbeans.org/cnd-main/rev/fab67ef50755
Integrated into 'main-golden', will be available in build *200910270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c980cb4e401d User: Alexey Vladykin <alexey_vladykin@netbeans.org> Log: #175368 Code Assistance doesn't work on Windows XP under sova's account