mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
7f5103ec59
c99 lets us do neat stuff like: { int j, k; foo(&j, &k); int z = j + k; } and also struct point { int x; int y; }; struct point pt = { .x=5, .y=5 }; This commit makes the configure scripts check to make sure your compiler implements them. It also disables our longstanding warning about midblock declarations. Closes ticket 13233.
11 lines
523 B
Plaintext
11 lines
523 B
Plaintext
o New compiler requirements:
|
|
- Tor 0.2.6.x requires that your compiler support more of the C99
|
|
language standard than before. The 'configure' script now detects
|
|
whether your compiler supports C99 mid-block declarations and
|
|
designated initializers. If it does not, Tor will not compile.
|
|
|
|
We may revisit this requirement if it turns out that a significant
|
|
number of people need to build Tor with compilers that don't
|
|
bother implementing a 15-year-old standard. Closes ticket 13233.
|
|
|