8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
AlexPeshkoff
93a8c44416 Generated files 2023-08-10 13:39:59 +03:00
AlexPeshkoff
b32d75a38f Warning 2023-04-12 20:36:35 +03:00
Vlad Khorsun
308579c2f7 Improvement #7542 : Compiler warnings raise when build cloop generated Firebird.pas in RAD Studio 11.3
Also, fixed AV in FbException.catchException()
2023-04-10 12:36:53 +03:00
Adriano dos Santos Fernandes
d3e91584a2 cloop: add support for noexcept and constexpr in C++ >= 11. 2022-10-18 21:13:12 -03:00
Adriano dos Santos Fernandes
93ff3eb263 cloop: use snake names and unsigned numbers in VERSION defines. Reuse defined name in C++ constant. 2022-10-18 21:13:12 -03:00
Adriano dos Santos Fernandes
5b98953343 cloop: put version #define for each interface in the C++ generator. 2022-10-18 21:13:12 -03:00
Adriano dos Santos Fernandes
a47a1699af Allow to build using prefixed toolchain (configure --host). 2022-09-25 11:21:23 -03:00
Adriano dos Santos Fernandes
ea8732fc80 Use SDK 10.0 for VS >= 2019.
See https://developercommunity.visualstudio.com/t/windowstargetplatformversion-makes-it-impossible-t/140294#T-N548052
2021-10-28 20:43:53 -03:00
Adriano dos Santos Fernandes
801784db69 Add support for VS 2022 build. 2021-10-28 14:31:45 -03:00
Adriano dos Santos Fernandes
440433fc7c Add support for VS 2019 build. 2021-10-28 14:31:45 -03:00
Stephan Bergmann
6ea349b8ec extern/cloop: Missing dependencies of compilations on output directories
When building Firebird 3.0.7 as part of LibreOffice, we noticed occasional build
failures like <https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/96392/>

> error: unable to open output file '/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/UnpackedTarball/firebird/temp/Debug/cloop/release/tests/test1/CTest.o': 'No such file or directory'
> 1 error generated.
> Makefile:72: recipe for target '/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/UnpackedTarball/firebird/temp/Debug/cloop/release/tests/test1/CTest.o' failed

and while target "all" depends on target "mkdirs" (which would create all those
directories) in extern/cloop/Makefile, there is no order among the dependencies
of "all", so no guarantee that the directories are already created when the
compilation recipes are executed.
2021-09-07 14:48:53 +03:00
Vlad Khorsun
d02d7a5a06 Update CLOOP MSVC projects. 2021-09-02 00:51:08 +03:00
Vlad Khorsun
8c6996c752 Fixed MSVC build. 2021-09-02 00:47:19 +03:00
AlexPeshkoff
abb3b976d8 Postfix for #6886 - try to fix cloop build on Mac 2021-09-01 20:09:20 +03:00
AlexPeshkoff
6a9d2aa3fa Postfix for #6886, thanks to Adriano for very useful comments and suggestions 2021-09-01 19:04:55 +03:00
AlexPeshkoff
e039e015aa Fixed CORE-6446: CLOOP envelopes is wrong in IStatus 2021-03-16 18:39:41 +03:00
Stephan Bergmann
b605b5ff58 extern/cloop: Missing dependency of $(BIN_DIR)/cloop on $(BIN_DIR)
When building Firebird 3.0.7 as part of LibreOffice, I saw it fail once (at
<https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/74624/>) with

[...]
> config.status: creating gen/Makefile.extern.editline
> config.status: creating src/include/gen/autoconfig.auto
> config.status: executing libtool commands
>
>
> The Firebird3 package has been configured with the following options:
>
>                     Raw devices : enabled
>                    Service name : gds_db
>                    Service port : 3050
>                    GPRE modules : c_cxx.cpp
>
>                     Install Dir : /usr/local/firebird
>
> mkpar.c:182:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
>         else
>         ^
> 1 warning generated.
> main.o: In function `create_file_names':
> main.c:(.text+0x976): warning: the use of `mktemp' is dangerous, better use `mkstemp'
> /usr/bin/ld: cannot open output file /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/UnpackedTarball/firebird/gen/Debug/cloop/release/bin/cloop: No such file or directory
> clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
> Makefile:84: recipe for target '/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/UnpackedTarball/firebird/gen/Debug/cloop/release/bin/cloop' failed
> make[6]: *** [/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/UnpackedTarball/firebird/gen/Debug/cloop/release/bin/cloop] Error 1
> make[6]: Target 'all' not remade because of errors.
> Makefile:130: recipe for target 'extern' failed
> make[5]: *** [extern] Error 2
> Makefile:181: recipe for target 'master_process' failed
> make[4]: *** [master_process] Error 2
> Makefile:72: recipe for target 'Debug' failed
> make[3]: *** [Debug] Error 2
> Makefile:6: recipe for target 'Debug' failed
> make[2]: *** [Debug] Error 2
> /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/external/firebird/ExternalProject_firebird.mk:29: recipe for target '/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/ExternalProject/firebird/build' failed
> make[1]: *** [/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/workdir/ExternalProject/firebird/build] Error 1
[...]
2020-12-03 17:28:56 +03:00
hvlad
12a5c444f2 Fix CLOOP handling of long unsigned constants.
Thanks to Alex.
2020-09-09 17:37:40 +03:00
hvlad
572348cae0 Lets build CLOOP using same make file that generates interface files.
It allows to avoid binding to the particular MSVC compiler version.
Undo most of the changes in cloop.vcxproj to restore ability to use MSVC older than v2017.
2020-09-03 11:40:33 +03:00
cb21d4365d Include CLOOP build and interfaces generation to Windows build 2020-08-28 17:53:35 +02:00
Adriano dos Santos Fernandes
c57c4fc1c2 Update generated files. 2020-06-11 11:52:25 -03:00
hvlad
d46b1e0d6a Generate correct VERSION numbers at implementation section. 2020-06-10 16:43:53 +03:00
AlexPeshkoff
77437e443b Applied freebsd-related changes from PR#72 2020-04-09 17:18:41 +03:00
AlexPeshkoff
9e7eb8c082 Output initially hex constants as hex, avoiding fr example use of -1 instead 0xFFFFFFFF 2020-03-24 18:20:23 +03:00
AlexPeshkoff
8608e81920 Regenerated cloop sample files 2020-03-19 16:25:05 +03:00
hvlad
fb548da73d Make CLOOP generate correct VERSION constants for all kind of outputs. 2020-03-11 19:52:28 +02:00
AlexPeshkoff
0438e20e35 Enable use of pascal's keyword 'record' in idl 2019-12-24 17:25:35 +03:00
Adriano dos Santos Fernandes
fbea5135aa Correction for Linux. 2019-12-04 07:59:38 -03:00
Adriano dos Santos Fernandes
2e8060f081 Frontport changes for MacOS build. 2019-12-03 21:57:12 -03:00
AlexPeshkoff
e81ecc60e8 Fixed CORE-5765: Missing directives in Firebird.pas 2018-03-09 21:54:28 +03:00
Adriano dos Santos Fernandes
b411fc442c Fix for MacOS build. 2017-05-15 15:09:18 +00:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
paulbeach
628633accb Reverse Cloop change (LibreeOffice), until it can be examined properly. 2016-03-03 11:57:30 +00:00
paulbeach
08cbcd502d malloc.h is no longer needed (LibreOffice) 2016-03-02 15:23:25 +00:00
alexpeshkoff
474538c7ff Added support for using pascal to access OO API 2015-12-21 17:01:26 +00:00
aafemt
439ee6b954 MSVC2010 has no inttypes.h, may be stdint.h or cstdint was supposed?.. 2015-11-17 16:24:29 +00:00
alexpeshkoff
f8ace7e566 Fixed posix build 2015-04-07 13:56:06 +00:00
asfernandes
2b23040281 Import cloop (hash 912a16ee1424c9b8548dfdef78ad18cba901f6c8) utility. 2015-04-07 03:19:35 +00:00