Comments (13)
Should be fixed now, thanks for reporting.
from darktable.
I'm getting the next one now:
/home/s7habo/darktable/src/common/variables.c: In function ‘_is_number’:
/home/s7habo/darktable/src/common/variables.c:314:37: error: ‘false’ undeclared (first use in this function)
314 | if(!g_ascii_isdigit(*str)) return false; // don't take empty strings
| ^~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [bin/CMakeFiles/lib_darktable.dir/build.make:1146: bin/CMakeFiles/lib_darktable.dir/common/variables.c.o] Fehler 1
gmake[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
gmake[1]: *** [CMakeFiles/Makefile2:2431: bin/CMakeFiles/lib_darktable.dir/all] Fehler 2
gmake: *** [Makefile:156: all] Fehler 2
from darktable.
I'm getting the next one now:
Hopefully fixed now...
from darktable.
Yes, everything went well. Thanks for the quick fix!
from darktable.
Curious how this got past the CI?
from darktable.
And it was also compiling fine for me.
from darktable.
I've seen it as well on my Windows machine, while the Windows CI was passing, very strange...
from darktable.
There's nothing strange. C90 does not support the boolean data type. C99 does. If you look at the build logs on all CI platforms, you will see -std=gnu99
on the command line of the compiler call. Apparently, for some reason, @s7habo's gcc (which was gcc12, whereas we at CI run newer compilers) started in C90 mode. This seems to be the default gcc12 setting in Ubuntu...
from darktable.
Mine is GCC 13.2 on Windows. Same as CI. I don't think I do anything differently, no special compiler flags...
from darktable.
But C99 standard is enabled in dt's cmake:
Line 229 in 267142e
So it's not about C standard version IMHO, but maybe about support of said feature (bool, true and false) by various compiler versions.
from darktable.
Or, more likely, it's just about including <stdbool.h>. On some systems it may be included by some other includes, on others - not.
from darktable.
Still doesn't explain why my local Windows MSYS2 build failed while the (presumably identically set up) CI didn't.
from darktable.
Well, there I can’t help, obviously they are different. E.g. enabled features and dependencies (and their versions) can affect includes, not just base build environment.
from darktable.
Related Issues (20)
- Slow Exporting of RAW files to JPEG HOT 4
- JXL export: Write metadata before image data HOT 7
- Crash On Live View Capture HOT 13
- Darktable not copying EXIF to GIMP HOT 11
- Import dialogue - interface not responsive. HOT 4
- Error loading files when recursive directory is checked on HOT 4
- colorequal: middle click isn't platform independend: not supported for apple trackpad/magic mouse HOT 12
- UI translation problem (maybe gentoo specific) HOT 1
- tone equalizer: graph and widget lose data when navigating history HOT 6
- rotate & perspective: intermittent mis-alignment of structure lines / mouse pointer
- History stack not match with picture process HOT 1
- Missing 'camera reference' coeficients in white balance module for the Google Pixel 7a's dng HOT 3
- Make locations module in map view taller HOT 1
- Darktable error when installing on Mac HOT 5
- darktable "arm64" does not run on my macbook pro with Apple M1 chip HOT 10
- darktable crashes after some time HOT 1
- GUI sometimes blocked
- How to adjust workflow to darktable HOT 41
- Allow local copy from darktable-cli HOT 10
- SQlite WAL support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darktable.