Home » Developing U++ » U++ Developers corner » theide with libclang
Re: theide with libclang [message #58962 is a reply to message #58961] |
Sun, 02 October 2022 19:03 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
The same here, no help from USEMALLOC on Linux Mint 21.
As I just updated from GIT, I received also compilation issues:
----- ide/clang ( GUI CLANG SHARED POSIX LINUX ) (22 / 40)
libclang.cpp
clang.cpp
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:181:3: error: unknown type name 'CXDiagnosticSet'; did you mean 'CXDiagnostic'?
CXDiagnosticSet set = clang_getChildDiagnostics(diagnostic);
^~~~~~~~~~~~~~~
CXDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1919:15: note: 'CXDiagnostic' declared here
typedef void *CXDiagnostic;
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:181:25: error: use of undeclared identifier 'clang_getChildDiagnostics'; did you mean 'clang_getNumDiagnostics'?
CXDiagnosticSet set = clang_getChildDiagnostics(diagnostic);
^~~~~~~~~~~~~~~~~~~~~~~~~
clang_getNumDiagnostics
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1992:10: note: 'clang_getNumDiagnostics' declared here
unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:181:51: error: cannot initialize a parameter of type 'CXTranslationUnit' (aka 'CXTranslationUnitImpl *') with an lvalue of type 'CXDiagnostic' (aka 'void *')
CXDiagnosticSet set = clang_getChildDiagnostics(diagnostic);
^~~~~~~~~~
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1992:52: note: passing argument to parameter 'Unit' here
unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:182:11: error: use of undeclared identifier 'clang_getNumDiagnosticsInSet'; did you mean 'clang_getNumDiagnostics'?
int n = clang_getNumDiagnosticsInSet(set);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang_getNumDiagnostics
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1992:10: note: 'clang_getNumDiagnostics' declared here
unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:182:40: error: cannot initialize a parameter of type 'CXTranslationUnit' (aka 'CXTranslationUnitImpl *') with an lvalue of type 'CXDiagnostic' (aka 'void *')
int n = clang_getNumDiagnosticsInSet(set);
^~~
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1992:52: note: passing argument to parameter 'Unit' here
unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:184:21: error: use of undeclared identifier 'clang_getDiagnosticInSet'; did you mean 'clang_getDiagnostic'?
CXDiagnostic d = clang_getDiagnosticInSet(set, i);
^~~~~~~~~~~~~~~~~~~~~~~~
clang_getDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1993:14: note: 'clang_getDiagnostic' declared here
CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit, unsigned Index);
^
/home/tom/upp.src/uppsrc/ide/clang/clang.cpp:184:46: error: cannot initialize a parameter of type 'CXTranslationUnit' (aka 'CXTranslationUnitImpl *') with an lvalue of type 'CXDiagnostic' (aka 'void *')
CXDiagnostic d = clang_getDiagnosticInSet(set, i);
^~~
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1993:52: note: passing argument to parameter 'Unit' here
CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit, unsigned Index);
^
7 errors generated.
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:242:1: error: unknown type name 'CXDiagnosticSet'; did you mean 'CXDiagnostic'?
CXDiagnosticSet clang_getChildDiagnostics(CXDiagnostic d)
^~~~~~~~~~~~~~~
CXDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1919:15: note: 'CXDiagnostic' declared here
typedef void *CXDiagnostic;
^
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:244:20: error: no member named 'clang_getChildDiagnostics' in 'T_LibClang'; did you mean 'clang_disposeDiagnostic'?
return LibClang().clang_getChildDiagnostics(d);
^~~~~~~~~~~~~~~~~~~~~~~~~
clang_disposeDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/clang.dli:50:10: note: 'clang_disposeDiagnostic' declared here
FN(void, clang_disposeDiagnostic, (CXDiagnostic Diagnostic))
^
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:244:9: error: cannot initialize return object of type 'CXDiagnostic' (aka 'void *') with an rvalue of type 'void'
return LibClang().clang_getChildDiagnostics(d);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:247:39: error: unknown type name 'CXDiagnosticSet'; did you mean 'CXDiagnostic'?
unsigned clang_getNumDiagnosticsInSet(CXDiagnosticSet diags)
^~~~~~~~~~~~~~~
CXDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1919:15: note: 'CXDiagnostic' declared here
typedef void *CXDiagnostic;
^
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:249:20: error: no member named 'clang_getNumDiagnosticsInSet' in 'T_LibClang'
return LibClang().clang_getNumDiagnosticsInSet(diags);
~~~~~~~~~~ ^
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:252:39: error: unknown type name 'CXDiagnosticSet'; did you mean 'CXDiagnostic'?
CXDiagnostic clang_getDiagnosticInSet(CXDiagnosticSet diags, unsigned index)
^~~~~~~~~~~~~~~
CXDiagnostic
/home/tom/upp.src/uppsrc/ide/clang/libclang.h:1919:15: note: 'CXDiagnostic' declared here
typedef void *CXDiagnostic;
^
/home/tom/upp.src/uppsrc/ide/clang/libclang.cpp:254:20: error: no member named 'clang_getDiagnosticInSet' in 'T_LibClang'
return LibClang().clang_getDiagnosticInSet(diags, index);
~~~~~~~~~~ ^
7 errors generated.
ide/clang: 2 file(s) built in (0:03.45), 1726 msecs / file
There were errors. (0:03.48)
Best regards,
Tom
|
|
|
|
|
theide with libclang
By: mirek on Sun, 26 June 2022 09:32
|
|
|
Re: theide with libclang, first milestone finished
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 26 June 2022 14:18
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Sun, 26 June 2022 16:37
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 26 June 2022 18:07
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Mon, 27 June 2022 10:58
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 27 June 2022 11:16
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Mon, 27 June 2022 11:25
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 27 June 2022 14:35
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sun, 03 July 2022 05:28
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sun, 03 July 2022 16:19
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 04 July 2022 00:08
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 13:23
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 16:33
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 17:01
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 17:02
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 18:41
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 18:49
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 18:55
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 19:05
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 19:10
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 19:39
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 09 July 2022 00:32
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sat, 09 July 2022 13:11
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 09 July 2022 19:44
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 10 July 2022 00:49
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sun, 10 July 2022 01:49
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sun, 10 July 2022 02:53
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 10 July 2022 08:46
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Sun, 10 July 2022 11:06
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 10 July 2022 16:56
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 11 July 2022 18:40
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Mon, 11 July 2022 21:57
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 11 July 2022 22:27
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Mon, 11 July 2022 22:49
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Mon, 11 July 2022 23:00
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Mon, 15 August 2022 10:44
|
|
|
Re: theide with libclang, first milestone finished
By: Klugier on Mon, 15 August 2022 18:44
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Tue, 16 August 2022 08:04
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Fri, 19 August 2022 13:04
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Fri, 19 August 2022 13:05
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 20 August 2022 20:00
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 20 August 2022 20:33
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 21 August 2022 00:46
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Tue, 30 August 2022 16:04
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Wed, 31 August 2022 10:00
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Wed, 31 August 2022 10:13
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Wed, 31 August 2022 10:50
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Wed, 31 August 2022 11:37
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Wed, 31 August 2022 12:33
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Thu, 15 September 2022 08:31
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 15 September 2022 09:48
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Thu, 15 September 2022 14:10
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Fri, 16 September 2022 11:28
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 05:54
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 06:44
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sat, 17 September 2022 11:04
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 12:23
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sat, 17 September 2022 12:48
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 12:57
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 13:01
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Sat, 17 September 2022 12:37
|
|
|
Re: theide with libclang, first milestone finished
By: Tom1 on Sat, 20 August 2022 20:34
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Sun, 21 August 2022 00:42
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 19:45
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 20:15
|
|
|
Re: theide with libclang, first milestone finished
By: mirek on Thu, 07 July 2022 20:44
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 21:35
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 21:42
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 22:04
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 18:58
|
|
|
Re: theide with libclang, first milestone finished
By: Novo on Thu, 07 July 2022 18:00
|
|
|
Re: theide with libclang
By: mirek on Thu, 07 July 2022 15:32
|
|
|
Re: theide with libclang
By: Novo on Tue, 16 August 2022 19:18
|
|
|
Re: theide with libclang
By: mirek on Fri, 19 August 2022 13:03
|
|
|
Re: theide with libclang
By: Novo on Tue, 16 August 2022 19:25
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Sun, 18 September 2022 13:05
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: Novo on Sun, 18 September 2022 16:57
|
|
|
Re: theide with libclang
By: Novo on Sun, 18 September 2022 21:23
|
|
|
Re: theide with libclang
By: mirek on Tue, 20 September 2022 13:09
|
|
|
Re: theide with libclang
By: Novo on Tue, 20 September 2022 19:16
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Tue, 20 September 2022 19:37
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: Novo on Wed, 21 September 2022 01:33
|
|
|
Re: theide with libclang
By: Novo on Wed, 21 September 2022 01:56
|
|
|
Re: theide with libclang
By: mirek on Wed, 21 September 2022 10:52
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: Novo on Fri, 23 September 2022 05:41
|
|
|
Re: theide with libclang
By: Novo on Fri, 23 September 2022 05:52
|
|
|
Re: theide with libclang
By: mirek on Fri, 23 September 2022 10:48
|
|
|
Re: theide with libclang
By: Lance on Sat, 24 September 2022 04:41
|
|
|
Re: theide with libclang
By: peterh on Sat, 24 September 2022 07:26
|
|
|
Re: theide with libclang
By: mirek on Sat, 24 September 2022 08:08
|
|
|
Re: theide with libclang
By: Lance on Sat, 24 September 2022 15:00
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: Lance on Sun, 25 September 2022 02:13
|
|
|
Re: theide with libclang
By: Klugier on Sun, 25 September 2022 13:48
|
|
|
Re: theide with libclang
By: Lance on Sun, 25 September 2022 14:48
|
|
|
Re: theide with libclang
By: Klugier on Sun, 25 September 2022 15:28
|
|
|
Re: theide with libclang
By: Lance on Sun, 25 September 2022 15:30
|
|
|
Re: theide with libclang
By: Klugier on Sun, 25 September 2022 15:47
|
|
|
Re: theide with libclang
By: Lance on Sun, 25 September 2022 16:05
|
|
|
Re: theide with libclang
By: mirek on Sun, 25 September 2022 16:57
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Sun, 25 September 2022 23:26
|
|
|
Re: theide with libclang
By: Lance on Tue, 27 September 2022 01:48
|
|
|
Re: theide with libclang
By: Klugier on Tue, 27 September 2022 20:35
|
|
|
Re: theide with libclang
By: Lance on Tue, 27 September 2022 23:11
|
|
|
Re: theide with libclang
By: Lance on Tue, 27 September 2022 23:12
|
|
|
Re: theide with libclang
By: Tom1 on Sat, 01 October 2022 18:46
|
|
|
Re: theide with libclang
By: Klugier on Sat, 01 October 2022 22:49
|
|
|
Re: theide with libclang
By: Lance on Sun, 02 October 2022 02:19
|
|
|
Re: theide with libclang
By: mirek on Sun, 02 October 2022 11:57
|
|
|
Re: theide with libclang
By: Lance on Sun, 02 October 2022 15:27
|
|
|
Re: theide with libclang
By: mirek on Sun, 02 October 2022 16:17
|
|
|
Re: theide with libclang
By: Tom1 on Sun, 02 October 2022 19:03
|
|
|
Re: theide with libclang
By: mirek on Sun, 02 October 2022 22:07
|
|
|
Re: theide with libclang
By: Lance on Mon, 03 October 2022 00:58
|
|
|
Re: theide with libclang
By: Tom1 on Mon, 03 October 2022 09:34
|
|
|
Re: theide with libclang
By: Tom1 on Mon, 03 October 2022 10:05
|
|
|
Re: theide with libclang
By: mirek on Mon, 03 October 2022 10:34
|
|
|
Re: theide with libclang
By: Tom1 on Mon, 03 October 2022 11:30
|
|
|
Re: theide with libclang
By: mirek on Mon, 03 October 2022 10:48
|
|
|
Re: theide with libclang
By: Tom1 on Mon, 03 October 2022 11:35
|
|
|
Re: theide with libclang
By: Tom1 on Mon, 03 October 2022 11:45
|
|
|
Re: theide with libclang
By: mirek on Mon, 03 October 2022 13:38
|
|
|
Re: theide with libclang
By: mirek on Mon, 03 October 2022 10:37
|
|
|
Re: theide with libclang
By: Lance on Mon, 03 October 2022 15:51
|
|
|
Re: theide with libclang
By: Klugier on Mon, 03 October 2022 23:20
|
|
|
Re: theide with libclang
By: mirek on Sat, 08 October 2022 19:47
|
|
|
Re: theide with libclang
By: Lance on Sat, 08 October 2022 21:29
|
|
|
Re: theide with libclang
By: Tom1 on Sat, 08 October 2022 21:54
|
|
|
Re: theide with libclang
By: mirek on Sat, 08 October 2022 23:04
|
|
|
Re: theide with libclang
By: mirek on Sun, 09 October 2022 20:44
|
|
|
Re: theide with libclang
By: Tom1 on Sun, 09 October 2022 21:19
|
|
|
Re: theide with libclang
By: mirek on Sun, 09 October 2022 23:18
|
|
|
Re: theide with libclang
By: Lance on Sun, 25 September 2022 15:28
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Sat, 24 September 2022 08:44
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: peterh on Sat, 24 September 2022 10:03
|
|
|
Re: theide with libclang
By: mirek on Sat, 24 September 2022 10:16
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Sat, 24 September 2022 21:44
|
|
|
Re: theide with libclang
|
|
|
Re: theide with libclang
By: mirek on Sun, 25 September 2022 23:23
|
|
|
Re: theide with libclang
By: peterh on Sat, 15 October 2022 11:33
|
|
|
Re: theide with libclang
By: mirek on Sun, 16 October 2022 13:28
|
|
|
Re: theide with libclang
By: Lance on Wed, 26 October 2022 16:00
|
|
|
Re: theide with libclang
By: mirek on Wed, 26 October 2022 22:07
|
|
|
Re: theide with libclang
By: mirek on Thu, 27 October 2022 12:21
|
|
|
Re: theide with libclang
By: mirek on Thu, 27 October 2022 12:26
|
|
|
Re: theide with libclang
By: Lance on Tue, 01 November 2022 23:32
|
|
|
Re: theide with libclang
By: Lance on Wed, 02 November 2022 00:15
|
|
|
Re: theide with libclang
By: Lance on Wed, 02 November 2022 01:58
|
|
|
Re: theide with libclang
By: mirek on Wed, 02 November 2022 15:58
|
|
|
Re: theide with libclang
By: mirek on Wed, 02 November 2022 10:21
|
|
|
Re: theide with libclang
By: mirek on Wed, 02 November 2022 19:13
|
|
|
Re: theide with libclang
By: Lance on Wed, 02 November 2022 22:52
|
|
|
Re: theide with libclang
By: Lance on Thu, 03 November 2022 20:06
|
|
|
Re: theide with libclang
By: mirek on Mon, 21 November 2022 16:46
|
|
|
Re: theide with libclang
By: zsolt on Tue, 22 November 2022 08:28
|
|
|
Re: theide with libclang
By: mirek on Tue, 22 November 2022 10:28
|
|
|
Re: theide with libclang
By: zsolt on Tue, 22 November 2022 11:21
|
|
|
Re: theide with libclang
By: mirek on Tue, 22 November 2022 11:25
|
|
|
Re: theide with libclang
By: zsolt on Tue, 22 November 2022 11:40
|
|
|
Re: theide with libclang
By: Lance on Wed, 23 November 2022 00:44
|
|
|
Re: theide with libclang
By: mirek on Wed, 23 November 2022 10:46
|
|
|
Re: theide with libclang
By: Lance on Thu, 24 November 2022 03:12
|
Goto Forum:
Current Time: Fri May 10 05:41:43 CEST 2024
Total time taken to generate the page: 0.04424 seconds
|