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 247229 - Auto-generation of variable-argument class methods in C++ fails
Summary: Auto-generation of variable-argument class methods in C++ fails
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 15:53 UTC by julianAtEg
Modified: 2014-11-13 15:41 UTC (History)
1 user (show)

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 julianAtEg 2014-09-17 15:53:50 UTC
Product Version = NetBeans IDE Dev (Build 201408190001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08

Create a class, Bar say, in C++.  In the header, add a method Foo( const char * fmt, ... );

class Bar
{
public:
    void Foo( const char * fmt, ... );
};

Go to Bar.cpp, and hit control-space. Netbeans offers a menu of options, including generation of Foo. Accept that option.

The generated function will have two sets of ellipsis:

void Foo( const char * fmt, ... ... ) {
}
Comment 1 Alexander Simon 2014-10-15 15:08:04 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/04cc6a24f831
Comment 2 Quality Engineering 2014-10-16 03:04:11 UTC
Integrated into 'main-silver', will be available in build *201410160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/04cc6a24f831
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #247229 Auto-generation of variable-argument class methods in C++ fails
Comment 3 soldatov 2014-11-07 11:43:11 UTC
verified in trunk (NetBeans IDE Dev (Build 201411070002))
Comment 4 Quality Engineering 2014-11-10 23:22:25 UTC
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/b4f97e99d6f1
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #247229 Auto-generation of variable-argument class methods in C++ fails
(transplanted from 04cc6a24f831bdb534d967dbbf1217ad2f7f9ca2)
Comment 5 Alexander Pepin 2014-11-13 15:41:48 UTC
Verified in patch2 build 20141110.