what on earth is going on over at C++
are they ok
what on earth is going on over at C++
are they ok
from https://isocpp.org/files/papers/P2809R3.html where the C++ committee has just adopted a proposal to make some infinite loops not UB
ah yes, that did it:
❯ clang++ main.cpp -O -o main cassius in 🌐 ellie in /tmp ❯ ./main Hello world!of course it would be an optimization flag :blobcatfacepalm:
@djsumdog Why the heck are you expecting this to terminate?
@hailey exchanging one UB (unbounded) for another (unexpected behaviour).
@hailey they are, in fact, not ok.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.