|
|
Home » Community » U++ community news and announcements » 3rd party code updates
|
Re: 3rd party code updates [message #54720 is a reply to message #54718] |
Thu, 03 September 2020 17:31 |
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 #54729 is a reply to message #54725] |
Fri, 04 September 2020 03:05 |
|
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 #54735 is a reply to message #54730] |
Fri, 04 September 2020 21:46 |
|
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.
|
|
|
Goto Forum:
Current Time: Fri May 10 03:01:40 CEST 2024
Total time taken to generate the page: 0.01919 seconds
|
|
|