Home » Community » U++ community news and announcements » 2024rc
Re: 2024rc3 [message #61105 is a reply to message #61102] |
Mon, 18 November 2024 14:02   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Mon, 18 November 2024 13:47mirek wrote on Mon, 11 November 2024 11:15cbpporter wrote on Mon, 11 November 2024 10:08Tested on fresh install on another PC, and one common problem is back: CLANG marks my source file with error, with a red exlamation mark in the top elft corner, with the text "Errors".
It has no tooltip or click to tell you what the errors are.
You should see it in scrollbar.
Quote:
This is extremely common and comes and goes, and is very annoying because first it has a big red exclamation mark on your file, then it kills "IntelliSense".
This time it was triggered by a code like this (and many other cases):
String fullName = name;
fullName << ".";

I attached the error.
This probably means some problem of libclang installation. A good way to check is to activate "Assist diagnostics" and then Assist / "Current file parse errors" (post it here).
Sorry for being late, I had to locate the non main dev PCs where this problems occurs since on my mains (where VS is not detected, unrelated) it does not.
Errors do appear in the scrollbar but there is no tooltip. Nor on the exclamation bar. But they do appear in code.
Anyway, the one main problem that appears in all the assist diagnostic logs is:
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (35): use of undeclared identifier 'char32_t'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (58): use of undeclared identifier 'char16_t'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (59): use of undeclared identifier 'char32_t'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (77): use of undeclared identifier 'char16_t'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (78): use of undeclared identifier 'char32_t'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (92): unknown type name 'u16string'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (93): unknown type name 'u32string'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (102): no type named 'u16string' in namespace 'std::pmr'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__fwd\string.h (103): no type named 'u32string' in namespace 'std::pmr'
ERROR: C:\Dev\upprc4\bin\clang\include\c++\v1\__functional\hash.h (371): use of undeclared identifier 'char16_t'
The rest seems to be related to String, so they might disappear if this one does.
This is on RC3 and RC4.
But for a more testable solution, in AddressBook.cpp, I've attached the output.
Well, going to libclang comes with price - I do not already have control over bad installations. This is clearly one of those case where something happened to include path.
Mirek
|
|
|
 |
|
2024rc
By: mirek on Thu, 07 November 2024 18:48
|
 |
|
Re: 2024rc3
By: Tom1 on Fri, 08 November 2024 12:24
|
 |
|
Re: 2024rc3
|
 |
|
Re: 2024rc3
By: mirek on Mon, 11 November 2024 10:15
|
 |
|
Re: 2024rc3
By: mirek on Sun, 17 November 2024 16:40
|
 |
|
Re: 2024rc3
|
 |
|
Re: 2024rc3
|
 |
|
Re: 2024rc3
By: mirek on Mon, 18 November 2024 14:00
|
 |
|
Re: 2024rc3
By: mirek on Mon, 18 November 2024 14:02
|
 |
|
Re: 2024rc3
|
 |
|
Re: 2024rc3
By: mirek on Mon, 18 November 2024 19:30
|
 |
|
Re: 2024rc3
By: Novo on Wed, 20 November 2024 20:42
|
 |
|
Re: 2024rc3
By: Novo on Thu, 21 November 2024 07:08
|
 |
|
Re: 2024rc3
By: mirek on Thu, 21 November 2024 10:31
|
 |
|
Re: 2024rc3
By: Novo on Thu, 21 November 2024 18:48
|
 |
|
Re: 2024rc3
By: Novo on Fri, 22 November 2024 02:07
|
 |
|
Re: 2024rc3
By: mirek on Fri, 22 November 2024 15:07
|
 |
|
Re: 2024rc3
By: mirek on Fri, 22 November 2024 15:51
|
 |
|
Re: 2024rc3
By: mirek on Sat, 23 November 2024 12:32
|
 |
|
Re: 2024rc3
By: Novo on Sat, 23 November 2024 20:32
|
 |
|
Re: 2024rc3
By: mirek on Sun, 24 November 2024 11:09
|
 |
|
Re: 2024rc3
By: Novo on Mon, 25 November 2024 05:02
|
 |
|
Re: 2024rc3
|
 |
|
Re: 2024rc3
By: mirek on Mon, 25 November 2024 10:31
|
Goto Forum:
Current Time: Sun Jun 08 06:46:08 CEST 2025
Total time taken to generate the page: 0.04253 seconds
|