Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2024rc
Re: 2024rc3 [message #61105 is a reply to message #61102] Mon, 18 November 2024 14:02 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
cbpporter wrote on Mon, 18 November 2024 13:47
mirek wrote on Mon, 11 November 2024 11:15
cbpporter wrote on Mon, 11 November 2024 10:08
Tested 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 << ".";


index.php?t=getfile&id=6999&private=0
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DarkTheme function parameters changed
Next Topic: 2024rc5
Goto Forum:
  


Current Time: Sun Jun 08 06:46:08 CEST 2025

Total time taken to generate the page: 0.04253 seconds