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.

Bug 190742

Summary: Build fails after "Change Function Parameters" wizard
Product: cnd Reporter: soldatov <soldatov>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2010-10-04 08:00:06 UTC
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
Comment 1 Alexander Pepin 2010-10-06 13:51:02 UTC
It's a regression and a showstopper for M2.
Comment 2 Vladimir Voskresensky 2010-10-07 08:52:03 UTC
fixed
http://hg.netbeans.org/cnd-main/rev/118961f57c6e
Comment 3 Quality Engineering 2010-10-08 03:22:48 UTC
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