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: - Create Quote - Open quote.cc file - At 206th line call "Change Function Parameters" wizard on AddModule - Add 1 parameter - Push Refactor button - Build project ===> build failed g++ -c -g -Wall -MMD -MP -MF build/Debug/GNU-Linux-x86/system.o.d -o build/Debug/GNU-Linux-x86/system.o system.cc system.cc:41: error: prototype for ‘void System::AddModule(Module*, int)’ does not match any in class ‘System’ system.h:47: error: candidate is: void System::AddModule(Module*) gmake[2]: *** [build/Debug/GNU-Linux-x86/system.o] Error 1 gmake[1]: *** [.build-conf] Error 2 gmake: *** [.build-impl] Error 2
It's a regression and a showstopper for M2.
fixed http://hg.netbeans.org/cnd-main/rev/118961f57c6e
Integrated into 'main-golden', will be available in build *201010080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/118961f57c6e User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #190742 - Build fails after "Change Function Parameters" wizard -- use openDocument instead of getDocument which is lazy and returns null