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 - Build fails after "Change Function Parameters" wizard
Summary: Build fails after "Change Function Parameters" wizard
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 08:00 UTC by soldatov
Modified: 2010-10-08 03:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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