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 » 3rd party code updates
3rd party code updates [message #54718] Thu, 03 September 2020 17:10 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
In preparation of 2020.2 I have upgraded some 3rd party code:


OpenSSL (in Win32 release) to 1.1.1g
plugin/jpg to 9d
plugin/tif to 4.1.0
plugin/lz4 to 1.9.2
plugin/zstd to 1.4.5
plugin/pcre to 8.44

in addition to other contributed upgrades:

plugin/sqlite3 to 3.33
plugin/glew to 2.2.0
plugin/Eigen to master branch commit C1D944DD (9/May/2020)
Re: 3rd party code updates [message #54720 is a reply to message #54718] Thu, 03 September 2020 17:31 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
This update broke compilation of reference/AnimatedClip (debug) with clang-mingw.
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tif_fax3sm.c:3:
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiff.h:75:21: error: expected ';' after top level declarator
typedef TIFF_INT64_T  int64;
                    ^
                    ;
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiff.h:76:9: error: typedef redefinition with different types ('unsigned int' vs 'int')
typedef TIFF_UINT64_T uint64;
        ^
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiffconf.h:31:33: note: expanded from macro 'TIFF_UINT64_T'
        #define TIFF_UINT64_T unsigned __int64
                                       ^
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiff.h:75:9: note: previous definition is here
typedef TIFF_INT64_T  int64;
        ^
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiffconf.h:30:30: note: expanded from macro 'TIFF_INT64_T'
        #define TIFF_INT64_T signed __int64
                                    ^
In file included from /home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tif_fax3sm.c:3:
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiff.h:76:22: error: expected ';' after top level declarator
typedef TIFF_UINT64_T uint64;
                     ^
                     ;
/home/ssg/.local/soft/bb-worker/worker/mingw-upp/build/uppsrc/plugin/tif/lib/tiff.h:105:2: error: unknown type name 'uint64'
        uint64 tiff_diroff;     /* byte offset to first directory */
        ^



Regards,
Novo
Re: 3rd party code updates [message #54723 is a reply to message #54720] Thu, 03 September 2020 19:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks for reporting, hopefully fixed (please check).
Re: 3rd party code updates [message #54725 is a reply to message #54723] Thu, 03 September 2020 20:28 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Everything is fine now.
Thanks!


Regards,
Novo
Re: 3rd party code updates [message #54729 is a reply to message #54725] Fri, 04 September 2020 03:05 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Seems like plugin/sqlite3 generates warnings with new version:
/home/klugier/upp/uppsrc/plugin/sqlite3/lib/sqlite3mc_amalgamation.c (261013): warning: passing 'char [4]' to parameter of type 'const u8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
/home/klugier/upp/uppsrc/plugin/sqlite3/lib.c (8): In file included from /home/klugier/upp/uppsrc/plugin/sqlite3/lib.c:8:
 (): pageNo = sqlite3Get4byte(ac);
/home/klugier/upp/uppsrc/plugin/sqlite3/lib/sqlite3mc_amalgamation.c (32520): note: passing argument to parameter 'p' here
 (): SQLITE_PRIVATE u32 sqlite3Get4byte(const u8 *p){
/home/klugier/upp/uppsrc/plugin/sqlite3/lib/sqlite3mc_amalgamation.c (261271): warning: passing 'char [4]' to parameter of type 'const u8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]


Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 04 September 2020 03:05]

Report message to a moderator

Re: 3rd party code updates [message #54730 is a reply to message #54729] Fri, 04 September 2020 06:37 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
This cannot be fixed. This is third-party code.

Regards,
Novo
Re: 3rd party code updates [message #54731 is a reply to message #54730] Fri, 04 September 2020 09:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Fri, 04 September 2020 06:37
This cannot be fixed. This is third-party code.


In theory, you are right. In practice, I have fixed it Smile

Mirek
Re: 3rd party code updates [message #54735 is a reply to message #54730] Fri, 04 September 2020 21:46 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Novo,

In the package configuration there is an option "No warnings", so everyone 3D could be tune up to do not produce any warnings.

Anyway Mirek's fix is fine.

Klugier


U++ - one framework to rule them all.
Previous Topic: ide: Compare with log and new 'unit' testing method
Next Topic: Turtle package is ported to VirtualGui
Goto Forum:
  


Current Time: Sat Apr 20 07:29:30 CEST 2024

Total time taken to generate the page: 0.03714 seconds