1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
cde/src/lib
Martijn Dekker e20c0c6b5d dll feature test: output #error directive on failure
A common cause of build failures on some systems is that the output
block in the dll feature test silently fails to compile. This leads
to very-hard-to-trace compiler errors about missing identifiers
later on. iffe syntax does not allow aborting compilation if a
block does not compile, however, it does let us produce alternative
output from a shell script if compilation fails. This can be used
to generate an informative #error directive that is inserted in
place of the missing identifiers.

src/lib/libdll/features/dll:
- Add fail block to output block that produces an #error directive.
2021-01-19 22:19:54 +00:00
..
libast Eliminate LDFLAGS hack to compile on certain OSs 2021-01-18 19:16:17 +00:00
libcmd Fix release and standards build flags (re: 35672208, aa4669ad) 2021-01-18 01:07:45 +00:00
libdll dll feature test: output #error directive on failure 2021-01-19 22:19:54 +00:00
libsum Fix release and standards build flags (re: 35672208, aa4669ad) 2021-01-18 01:07:45 +00:00
Makefile Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
Mamfile Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00