FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

FB_ALIGNMENT is wrongly set to 1 if the test code from configure.ac fails to compile #8247

Closed ilya071294 closed 2 months ago

ilya071294 commented 2 months ago

Originally the problem was detected during an attempt to build FB3 on some recent Debian where a compiler requires int declaration before main. FB5+ has this fixed (8dee88fe931e44f3b3708c488aaeecfaabafdcd5) but it would be better to explicitly stop configure.ac processing if compilation fails because the problem may appear again for some different reason in the future.