mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master branch fails to build because of compiler warning.


From: Taylor R Campbell
Subject: Re: master branch fails to build because of compiler warning.
Date: Thu, 4 Feb 2021 05:34:44 +0000

> Date: Thu, 4 Feb 2021 13:14:27 +0800
> From: Lingyu Zhu <lynuszhu@gmail.com>
> 
> It seems the label should be added with a break or an annotation to
> shut up the compiler.

That's exactly what `FALLTHROUGH ();' on the line above is supposed to
do:

https://git.savannah.gnu.org/cgit/mit-scheme.git/tree/src/microcode/interp.c?id=43ea2feb108135921eea80228c9797e95676209e#n830

Maybe the definition of FALLTHROUGH and ATTRIBUTE in confshared.h
isn't getting picked up by clang?  Can you determine which branches of
those #ifs are getting hit on your system and why?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]