diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2018-04-20 00:06:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2018-04-20 00:06:38 -0700 |
commit | 26a5d50613a3c6cc60f9b6206df15772964eb853 (patch) | |
tree | a1bb5b80290a424dbdc436c0a125b4aba6cef697 /073scheduler.cc | |
parent | 8878326574db7c121ce1bc06b3014eb1986946cc (diff) | |
download | mu-26a5d50613a3c6cc60f9b6206df15772964eb853.tar.gz |
4235 - fix a build issue for Apple clang 900.0.38
The trouble with rewriting 'unused' to '__attribute__(unused)' is that if we happen to deliberately introduce '__attribute__(unused)' somehow, say in the standard headers, then it gets expanded twice to '__attribute__(__attribute__(unused))'. So we switch to a synonym.
Diffstat (limited to '073scheduler.cc')
-rw-r--r-- | 073scheduler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/073scheduler.cc b/073scheduler.cc index 51b3584f..75a17d33 100644 --- a/073scheduler.cc +++ b/073scheduler.cc @@ -312,7 +312,7 @@ def f2 [ +error: f2: divide by zero in '3:num <- divide-with-remainder 4, 0' -error: f2: divide by zero in '4:num <- divide-with-remainder 4, 0' -:(after "operator<<(ostream& os, unused end)") +:(after "operator<<(ostream& os, vestigial end)") if (Trace_stream && Trace_stream->curr_label == "error" && Current_routine) { Current_routine->state = COMPLETED; } |