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 » New release 2024 "alpha phase"
Re: New release 2024 "alpha phase" [message #60851 is a reply to message #60848] Thu, 19 September 2024 14:27 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Thu, 19 September 2024 03:53
Sorry, only fixed Win32... Now MacOS and Linux should be fixed as well.


The above problem is fixed. Now we are almost sure that U++ will not hindering people who wants to use the most recent language features.

When try to build UPP/AllForI18N, with CLANG+c++23, I got the following errors:

Quote:
/home/lance/upp.src/uppsrc/MySql/MySql.h (9): fatal error: 'mysql.h' file not found


And
Quote:

/home/lance/upp.src/uppsrc/plugin/dbf/dbf.cpp (198): error: no viable conversion from returned value of type 'StringBuffer' to function return type 'String'


Re: New release 2024 "alpha phase" [message #60852 is a reply to message #60850] Thu, 19 September 2024 15:05 Go to previous messageGo to next message
coolman is currently offline  coolman
Messages: 119
Registered: April 2006
Location: Czech Republic
Experienced Member
mirek wrote on Thu, 19 September 2024 11:54
coolman wrote on Thu, 19 September 2024 11:09
Hi Mirek,

Would it be possible to clean up these annoying warnings?

uppsrc/RichText/ParaPaint.cpp (468): warning: unused variable 'pe' [-Wunused-variable]
uppsrc/ide/IconDes/Event.cpp (102): warning: unused variable 'c' [-Wunused-variable]
uppsrc/ide/IconDes/IconDes.cpp (130): warning: unused variable 'isz' [-Wunused-variable]
uppsrc/ide/IconDes/ImlFile.cpp (272): warning: unused function 'PutOctalString' [-Wunused-function]
uppsrc/ide/SelectPkg.cpp:661:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  661 |                 for(int i = 0; i < dlg.list.GetCount(); i++)
      |                 ^
uppsrc/ide/SelectPkg.cpp:658:2: note: previous statement is here
  658 |         if(n)
      |         ^
1 warning generated.


Thank you, Radek


Is this GCC?


No, it is clang --version
Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Re: New release 2024 "alpha phase" [message #60854 is a reply to message #60852] Fri, 20 September 2024 09:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
coolman wrote on Thu, 19 September 2024 15:05
mirek wrote on Thu, 19 September 2024 11:54
coolman wrote on Thu, 19 September 2024 11:09
Hi Mirek,

Would it be possible to clean up these annoying warnings?

uppsrc/RichText/ParaPaint.cpp (468): warning: unused variable 'pe' [-Wunused-variable]
uppsrc/ide/IconDes/Event.cpp (102): warning: unused variable 'c' [-Wunused-variable]
uppsrc/ide/IconDes/IconDes.cpp (130): warning: unused variable 'isz' [-Wunused-variable]
uppsrc/ide/IconDes/ImlFile.cpp (272): warning: unused function 'PutOctalString' [-Wunused-function]
uppsrc/ide/SelectPkg.cpp:661:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  661 |                 for(int i = 0; i < dlg.list.GetCount(); i++)
      |                 ^
uppsrc/ide/SelectPkg.cpp:658:2: note: previous statement is here
  658 |         if(n)
      |         ^
1 warning generated.


Thank you, Radek


Is this GCC?


No, it is clang --version
Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin


Fixed. BTW, how is your build method CLANG settings? I have found that I have these warnings off by default... (looking for possibility to setup build method with these automatically)
Re: New release 2024 "alpha phase" [message #60855 is a reply to message #60854] Fri, 20 September 2024 15:26 Go to previous messageGo to next message
coolman is currently offline  coolman
Messages: 119
Registered: April 2006
Location: Czech Republic
Experienced Member
mirek wrote on Fri, 20 September 2024 09:42
coolman wrote on Thu, 19 September 2024 15:05
mirek wrote on Thu, 19 September 2024 11:54
coolman wrote on Thu, 19 September 2024 11:09
Hi Mirek,

Would it be possible to clean up these annoying warnings?

uppsrc/RichText/ParaPaint.cpp (468): warning: unused variable 'pe' [-Wunused-variable]
uppsrc/ide/IconDes/Event.cpp (102): warning: unused variable 'c' [-Wunused-variable]
uppsrc/ide/IconDes/IconDes.cpp (130): warning: unused variable 'isz' [-Wunused-variable]
uppsrc/ide/IconDes/ImlFile.cpp (272): warning: unused function 'PutOctalString' [-Wunused-function]
uppsrc/ide/SelectPkg.cpp:661:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  661 |                 for(int i = 0; i < dlg.list.GetCount(); i++)
      |                 ^
uppsrc/ide/SelectPkg.cpp:658:2: note: previous statement is here
  658 |         if(n)
      |         ^
1 warning generated.


Thank you, Radek


Is this GCC?


No, it is clang --version
Ubuntu clang version 17.0.6 (++20231208085846+6009708b4367-1~exp1~20231208085949.74)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin


Fixed. BTW, how is your build method CLANG settings? I have found that I have these warnings off by default... (looking for possibility to setup build method with these automatically)


I used release build to build theIDE.
index.php?t=getfile&id=6968&private=0
Re: New release 2024 "alpha phase" [message #60857 is a reply to message #60851] Sat, 21 September 2024 14:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Lance wrote on Thu, 19 September 2024 14:27
mirek wrote on Thu, 19 September 2024 03:53
Sorry, only fixed Win32... Now MacOS and Linux should be fixed as well.


The above problem is fixed. Now we are almost sure that U++ will not hindering people who wants to use the most recent language features.

When try to build UPP/AllForI18N, with CLANG+c++23, I got the following errors:

Quote:
/home/lance/upp.src/uppsrc/MySql/MySql.h (9): fatal error: 'mysql.h' file not found


And
Quote:

/home/lance/upp.src/uppsrc/plugin/dbf/dbf.cpp (198): error: no viable conversion from returned value of type 'StringBuffer' to function return type 'String'




Should be fixed. I have also added C++23 compilation to nightly testing routine and fixed all remaining problems - all of uppsrc should now work....
Re: New release 2024 "alpha phase" [message #60859 is a reply to message #60857] Sat, 21 September 2024 23:31 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Thank you, Mirek!

I am not sure if it's just me but, even with std=c++17 (or otherwise), the following problem persists
Quote:
/home/lance/upp/uppsrc/MySql/MySql.h (9): fatal error: 'mysql.h' file not found


It's not bothering me at all though.
Re: New release 2024 "alpha phase" [message #60862 is a reply to message #60859] Sun, 22 September 2024 09:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Lance wrote on Sat, 21 September 2024 23:31
Thank you, Mirek!

I am not sure if it's just me but, even with std=c++17 (or otherwise), the following problem persists
Quote:
/home/lance/upp/uppsrc/MySql/MySql.h (9): fatal error: 'mysql.h' file not found


It's not bothering me at all though.


Do you have mysql dev installed?
Re: New release 2024 "alpha phase" [message #60863 is a reply to message #60862] Sun, 22 September 2024 13:11 Go to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Oh I see. That's why. Thanks.
Previous Topic: Flatpak 2023.2.1 hotfix release
Next Topic: Win32 openssl updated to 3.2.1 version
Goto Forum:
  


Current Time: Fri Apr 25 19:05:49 CEST 2025

Total time taken to generate the page: 0.01024 seconds