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 269900

Summary: Complex macro breaks build on Window if "Use Build Analyzer" checkbox is switched on
Product: cnd Reporter: soldatov <soldatov>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2017-02-22 14:51:03 UTC
Other 2 tests fails on Windows only. Really tests checks issue 224708.

test.cpp:
int main() {
  return 0;
}

Makefile:
test.exe:
	g++ "-DQUOTE(name, extension)=<name.extension>" -o test.exe test.cpp

clean:
	rm -f test.exe

Scenario:
- Call "C/C++ Project with Existing Sources" wizard
- Select folder with source files
==> "Use Build Analyzer" checkbox is switched on
- Press Finish button
==>
cd 'C:/tmp'
C:\cygwin64\bin\make.exe -f Makefile
g++ "-DQUOTE(name, extension)=<name.extension>" -o test.exe test.cpp
g++: error: extension)=<name.extension>: No such file or directory
Makefile:3: recipe for target 'test.exe' failed
make: *** [test.exe] Error 1

Workaround: Switch off "Use Build Analyzer" checkbox on 2nd step
Comment 1 Alexander Simon 2017-03-21 10:40:13 UTC
fixed in enum, branch release82, chaangeset 7a18087ffca8
Comment 2 Quality Engineering 2017-03-24 02:53:25 UTC
Integrated into 'main-silver', will be available in build *201703240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2b9cace20621
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #269900 Complex macro breaks build on Window if "Use Build Analyzer" checkbox is switched on
(transplanted from 7a18087ffca84e8cb8e218e269ca0f387ff35fea)
Comment 3 ilia 2017-04-12 12:50:38 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=269900 Changesets:
    http://hg.netbeans.org/releases/rev/7a18087ffca8 # fixed Bug #269900 Complex macro breaks build on Window if "Use Build Analyzer" checkbox is switched on
Comment 4 soldatov 2017-04-19 10:53:11 UTC
Verified in NetBeans IDE 8.2 (Build 201704181436)