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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » version 168847 (stable) (ide show unexpected error display / windows 64bits)
version 168847 (stable) [message #60052] Sun, 23 July 2023 13:43 Go to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

In a "simple navigation" between sources the ide displayed error in the lines of the Defs.h file
But I have no problems with the ide in this version, as I also did not make a direct call to this file.
Is there any inconsistency here ?

(lines 175,176 and 287)

Thanks!

Re: version 168847 (stable) [message #60239 is a reply to message #60052] Wed, 25 October 2023 09:52 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
This is usually a bad mix of build method and host platform, problems with include files.

What is your OS / build method? Can you try with default CLANG?

Also, activate Setup / Settings / Assist / Assist diagnostics. When you do, there will be "Current file parse errors" in Assist menu. Do that (after error appears) and paste here, it might provide some clues...

Mirek
Re: version 168847 (stable) [message #60242 is a reply to message #60239] Wed, 25 October 2023 13:52 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

Done!
  • Attachment: u++b.png
    (Size: 343.67KB, Downloaded 32 times)
Re: version 168847 (stable) [message #60244 is a reply to message #60242] Wed, 25 October 2023 14:16 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
in linux Debian 10 this work ok!

see!
  • Attachment: u++c.png
    (Size: 156.62KB, Downloaded 30 times)
Re: version 168847 (stable) [message #60245 is a reply to message #60242] Wed, 25 October 2023 14:20 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
BetoValle wrote on Wed, 25 October 2023 13:52
Hi,

Done!


Please reread my post.
Re: version 168847 (stable) [message #60246 is a reply to message #60245] Wed, 25 October 2023 14:45 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
you write

When you do, there will be "Current file parse errors" in Assist menu

see that in the Assist menu, according to the image I post, "Current file parse errors" does not appear. OR?
I couldn't subtly translate your step by step!
  • Attachment: u++d.png
    (Size: 13.20KB, Downloaded 27 times)
Re: version 168847 (stable) [message #60247 is a reply to message #60239] Wed, 25 October 2023 14:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Setup / Settings / Assist / Assist diagnostics
Re: version 168847 (stable) [message #60248 is a reply to message #60247] Wed, 25 October 2023 14:58 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
ok!

now show in menu the tab "parse errors" with lines below:

WARNING: C:\U++\bin\clang\include\stdio.h (157): '__format__' attribute argument not supported: gnu_scanf
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (1): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:1:
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (2): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:2:
NOTE: C:\U++\uppsrc\plugin\png\lib\png.h (321): in file included from C:\U++\uppsrc\plugin\png\lib\png.h:321:
NOTE: C:\U++\uppsrc\plugin\png\lib\pngconf.h (307): in file included from C:\U++\uppsrc\plugin\png\lib\pngconf.h:307:
NOTE: C:\U++\bin\clang\include\stdio.h (1572): in file included from C:\U++\bin\clang\include\stdio.h:1572:
NOTE: C:\U++\bin\clang\include\sec_api\stdio_s.h (9): in file included from C:\U++\bin\clang\include\sec_api\stdio_s.h:9:
WARNING: C:\U++\bin\clang\include\stdio.h (160): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (163): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (166): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (169): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (172): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (176): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (180): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (183): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (186): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (189): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (192): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (195): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (198): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (201): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (204): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (208): '__format__' attribute argument not supported: ms_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (211): '__format__' attribute argument not supported: ms_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (214): '__format__' attribute argument not supported: ms_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (218): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (221): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (224): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (227): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (230): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (233): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (289): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (300): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (311): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (328): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (335): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (342): '__format__' attribute argument not supported: gnu_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (356): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (367): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (395): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (408): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (415): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (422): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (450): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (463): '__format__' attribute argument not supported: gnu_printf
WARNING: C:\U++\bin\clang\include\stdio.h (747): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (749): '__format__' attribute argument not supported: ms_scanf
WARNING: C:\U++\bin\clang\include\stdio.h (753): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (774): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stdio.h (776): '__format__' attribute argument not supported: ms_printf
WARNING: C:\U++\bin\clang\include\stddef.h (414): 'offsetof' macro redefined
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (1): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:1:
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (79): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:79:
NOTE: C:\U++\bin\clang\include\intrin.h (40): in file included from C:\U++\bin\clang\include\intrin.h:40:
NOTE: C:\U++\bin\clang\lib\clang\14.0.0\include\stddef.h (104): previous definition is here
WARNING: (7): extra tokens at end of #undef directive
WARNING: (8): extra tokens at end of #undef directive
WARNING: (9): extra tokens at end of #undef directive
WARNING: (102): '__stdcall' macro redefined
NOTE: C:\U++\bin\clang\include\_mingw.h (34): previous definition is here
WARNING: C:\U++\bin\clang\include\winuser.h (2237): 'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (218): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:218:
NOTE: C:\U++\bin\clang\include\winsock2.h (23): in file included from C:\U++\bin\clang\include\winsock2.h:23:
NOTE: C:\U++\bin\clang\include\windows.h (72): in file included from C:\U++\bin\clang\include\windows.h:72:
NOTE: C:\U++\bin\clang\include\apisetcconv.h (51): expanded from macro 'WINUSERAPI'
NOTE: C:\U++\bin\clang\include\winnt.h (154): expanded from macro 'DECLSPEC_IMPORT'
ERROR: C:\U++\bin\clang\include\rpcndr.h (75): 'short wchar_t' is invalid
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (218): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:218:
NOTE: C:\U++\bin\clang\include\winsock2.h (23): in file included from C:\U++\bin\clang\include\winsock2.h:23:
NOTE: C:\U++\bin\clang\include\windows.h (97): in file included from C:\U++\bin\clang\include\windows.h:97:
NOTE: C:\U++\bin\clang\include\winscard.h (10): in file included from C:\U++\bin\clang\include\winscard.h:10:
NOTE: C:\U++\bin\clang\include\wtypes.h (8): in file included from C:\U++\bin\clang\include\wtypes.h:8:
WARNING: C:\U++\bin\clang\include\rpcndr.h (75): typedef requires a name
ERROR: C:\U++\uppsrc\plugin\png\pngupp.cpp (467): expected unqualified-id
NOTE: C:\U++\bin\clang\include\math.h (586): expanded from macro 'isnan'
NOTE: C:\U++\bin\clang\include\math.h (103): expanded from macro '\
__mingw_choose_expr'
ERROR: C:\U++\uppsrc\plugin\png\pngupp.cpp (468): expected unqualified-id
NOTE: C:\U++\bin\clang\include\math.h (509): expanded from macro 'isinf'
WARNING: C:\U++\uppsrc\plugin\png\pngupp.cpp (579): using integer absolute value function 'abs' when argument is of floating point type
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (579): use function 'std::abs' instead
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (579): include the header <cmath> or explicitly provide a declaration for 'std::abs'
ERROR: C:\U++\uppsrc\plugin\png\pngupp.cpp (12): unterminated conditional directive
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (1): in file included from C:\U++\uppsrc\plugin\png\pngupp.cpp:1:
ERROR: C:\U++\uppsrc\plugin\png\pngupp.cpp (7): unterminated conditional directive
ERROR: C:\U++\uppsrc\plugin\png\pngupp.cpp (742): expected '}'
NOTE: C:\U++\uppsrc\plugin\png\pngupp.cpp (287): to match this '{'
Re: version 168847 (stable) [message #60250 is a reply to message #60248] Wed, 25 October 2023 15:38 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Weird. I have just downloaded 2023.2 and just loading AddressBook example, defs.h are just fine.

Have you checked with "clean" downloaded version? (If yes, then there must be something different with your overall Win installation, e.g. some CLANG or MINGW compiler separately installed with INCLUDE path or something like that).
Re: version 168847 (stable) [message #60251 is a reply to message #60250] Wed, 25 October 2023 15:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Just a hunch - try to place freshly downloaded U++ into C:/UPP folder (maybe "++" is confusing something)

Mirek
Re: version 168847 (stable) [message #60252 is a reply to message #60251] Wed, 25 October 2023 16:44 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

in others package this not occur!

after a review in assembler editing there was a reference to the folder "C:\U++\bin\clang\include" which probably blurred all logic! As soon as I removed it, the error in the Core/Defs file disappeared!
This package where the error was displayed was for general testing and for some reason that I don't remember now, what was the reason for directly accessing this folder. Anyway anyway By accessing a "source location", the IDE can add due attention to its "tips"!

Thanks!

Previous Topic: Navigator window - gone?
Next Topic: Shortcuts
Goto Forum:
  


Current Time: Sat Apr 27 17:28:13 CEST 2024

Total time taken to generate the page: 0.04134 seconds