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.
Scenario: - Add some remote host ("Automating Copying" mode should be selected) - Create C/C++ Application with main.cpp - Build project - Open main.cpp file and add some invalid code - Save file - Press F9 in editor ==> No any errors in build log /usr/bin/gmake -f nbproject/Makefile-Debug.mk build/Debug/GNU-Solaris-x86/main.o mkdir -p build/Debug/GNU-Solaris-x86 main.cpp:1:1: warning: null character(s) ignored rm -f "build/Debug/GNU-Solaris-x86/main.o.d" g++ -c -g -MMD -MP -MF "build/Debug/GNU-Solaris-x86/main.o.d" -o build/Debug/GNU-Solaris-x86/main.o main.cpp COMPILE FILE SUCCESSFUL (total time: 86ms) I expect "COMPILE FILE FAILED" message.
I see quite different effect - in my case if I modify file and press F9 - I see "src/args.c", line 1: null character in input
fixed on enum: 95ea6f659a3f
Integrated into 'main-silver', will be available in build *201601210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/81ad80bdbf13 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #257293 - "Compile File" works wrongly in "Automating Copying" mode (transplanted from 95ea6f659a3faadfff591215883e041e484bf665)
Fixes of this bug: http://hg.netbeans.org/releases/rev/95ea6f659a3f
Verified in NetBeans IDE 8.1 (Build 201601300101)