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 262395 - [regression] Compile c++ file doesn't work anymore in JConvert project
Summary: [regression] Compile c++ file doesn't work anymore in JConvert project
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 15:12 UTC by Vladimir Voskresensky
Modified: 2016-06-18 03:12 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 Vladimir Voskresensky 2016-06-10 15:12:07 UTC
open StmtJavaPrinter.cpp
press F9 => Error

cd '/home/vv159170/devarea/sputnik-jclank/contrib/JConvert/src'
/usr/bin/g++ -std=c++11 -g -c StmtJavaPrinter.cpp -o /dev/null
In file included from StmtJavaPrinter.cpp:2:0:
StmtJavaPrinter.h:19:34: fatal error: clang/AST/ASTContext.h: No such file or directory
 #include "clang/AST/ASTContext.h"
                                  ^
compilation terminated.

COMPILE FAILED (exit value 1, total time: 54ms)
Comment 1 Vladimir Voskresensky 2016-06-10 15:13:17 UTC
btw, switch to StmtJavaPrinter.h and press F9 => works as before with the following in Output:
cd '/home/vv159170/devarea/sputnik-jclank/contrib/JConvert'
rm -rf build/Linux_Release/GNU-Linux/src/StmtJavaPrinter.o

CLEAN SUCCESSFUL (total time: 53ms)
cd '/home/vv159170/devarea/sputnik-jclank/contrib/JConvert'
/usr/bin/make -f nbproject/Makefile-Linux_Release.mk build/Linux_Release/GNU-Linux/src/StmtJavaPrinter.o
mkdir -p build/Linux_Release/GNU-Linux/src
rm -f "build/Linux_Release/GNU-Linux/src/StmtJavaPrinter.o.d"
g++ -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fno-rtti ......
Comment 2 Alexander Simon 2016-06-14 09:00:13 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/5aec49f8ad96
Comment 3 Vladimir Voskresensky 2016-06-14 10:03:35 UTC
Thanks!
Comment 4 Quality Engineering 2016-06-18 03:12:37 UTC
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5aec49f8ad96
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #262395 [regression] Compile c++ file doesn't work anymore in JConvert project