Skip to content
Success

Changes

Summary

  1. Small bit of clean-up on the enum functions in builtins. Mostly reducing the assertions on functions. (details)
  2. suppress reference conversion warning (details)
  3. Mitigate several unused-declaration warnings in generated code. (details)
  4. Make array and list headers free of warnings upon include and as used in a libcfa build (details)
  5. formatting (details)
  6. add citation (details)
  7. temporarily add citations to background chapter (details)
  8. Work around #269 in array bound-check printing, to avoid 32-bit-specific warning.  Try to fix nightly build. (details)
  9. Begin an exploratory meta-test of warning detection.  This change will be reversed. (details)
  10. End the meta-test of warning detection.  Reverse 135197188ba. (details)
  11. Fix exceptions to be warning-free. (details)
  12. Fix IO stream to be warning-free. (details)
  13. Add test for milestone: String is warning-free (details)
Commit 532c0cdf854a68fe4bfc7de28c87688b31f9c5ed by ajbeach
Small bit of clean-up on the enum functions in builtins. Mostly reducing the assertions on functions.
The file was modifiedlibcfa/prelude/builtins.c
Commit f979f0ba3e91f53f961ddfb6b75fd4b82f468087 by f37yu
suppress reference conversion warning
The file was modifiedsrc/GenPoly/Lvalue.cpp
Commit 35cc6d4773c9705fbac2d875d39d6aa6120e8f80 by Michael Brooks
Mitigate several unused-declaration warnings in generated code.

See tests/nowarn/unused for the specific cases.
The file was modifiedtests/.expect/attributes.x86.txt
The file was modifiedtests/.expect/functions.arm64.txt
The file was modifiedtests/.expect/declarationSpecifier.arm64.txt
The file was modifiedtests/.expect/declarationSpecifier.x86.txt
The file was addedtests/nowarn/unused.cfa
The file was modifiedsrc/GenPoly/Box.cpp
The file was modifiedsrc/Validate/ImplementEnumFunc.cpp
The file was modifiedtests/.expect/gccExtensions.x64.txt
The file was modifiedtests/.expect/functions.x86.txt
The file was modifiedtests/.expect/extension.arm64.txt
The file was modifiedtests/.expect/extension.x86.txt
The file was modifiedtests/.expect/functions.x64.txt
The file was modifiedtests/.expect/KRfunctions.x64.txt
The file was modifiedsrc/Validate/Autogen.cpp
The file was addedtests/nowarn/.expect/unused.txt
The file was modifiedtests/.expect/attributes.x64.txt
The file was modifiedtests/.expect/gccExtensions.x86.txt
The file was modifiedtests/.expect/KRfunctions.arm64.txt
The file was modifiedtests/.expect/KRfunctions.x86.txt
The file was modifiedtests/.expect/attributes.arm64.txt
The file was modifiedtests/.expect/gccExtensions.arm64.txt
The file was modifiedsrc/Validate/CompoundLiteral.cpp
The file was modifiedtests/.expect/extension.x64.txt
The file was modifiedtests/.expect/declarationSpecifier.x64.txt
Commit 8ee211d29f63ed8c631e2d37e8961781dfa45eaf by Michael Brooks
Make array and list headers free of warnings upon include and as used in a libcfa build
The file was addedtests/nowarn/.expect/list.txt
The file was addedtests/nowarn/list.cfa
The file was addedtests/nowarn/array.cfa
The file was addedtests/nowarn/.expect/array.txt
The file was modifiedlibcfa/src/collections/array.hfa
The file was modifiedlibcfa/src/collections/list.hfa
Commit ad8b6dfa61caa02d1ecf946bdd5412d385adbed4 by Peter Buhr
formatting
The file was modifiedlibcfa/prelude/builtins.c
Commit 13887ac2bdbe8d74fb76251860ab3ce811ef25c4 by Peter Buhr
add citation
The file was modifieddoc/bibliography/pl.bib
Commit 63b32f9d78b543462283bbd288cb90544ee8db78 by Peter Buhr
temporarily add citations to background chapter
The file was modifieddoc/theses/fangren_yu_MMath/background.tex
Commit 5db913f46e93b12eef193c9ac4a156a1a6b97739 by Michael Brooks
Work around #269 in array bound-check printing, to avoid 32-bit-specific warning.  Try to fix nightly build.
The file was modifiedlibcfa/src/collections/array.hfa
Commit 135197188ba1bdea9a919286e6c4ac411a03bb8c by Michael Brooks
Begin an exploratory meta-test of warning detection.  This change will be reversed.

Warnings from socket.h (about static-inline lifecycle functions "used in inline function 'recvfrom' which is not static") are known to be manually reproducibe with nodebug builds but not debug builds.  This experiment asks: Will our present-state CI rig flag it?
The file was addedtests/nowarn/.expect/socket.txt
The file was addedtests/nowarn/socket.cfa
Commit 9b01ed1bd9fa042e5186a7fbaf7f0b83a51a872e by Michael Brooks
End the meta-test of warning detection.  Reverse 135197188ba.

This experiment successfully concludes: Our present-state CI rig flags the socket.h warnings during overnight builds, though not immediately upon checkin.
The file was removedtests/nowarn/socket.cfa
The file was removedtests/nowarn/.expect/socket.txt
Commit fb0f04d09615a0006f8d2eec237f089ba7688917 by Michael Brooks
Fix exceptions to be warning-free.
The file was addedtests/nowarn/exception.cfa
The file was addedtests/nowarn/.expect/exception.txt
The file was modifiedsrc/ControlStruct/ExceptDecl.cpp
Commit 96ef156eb6906d418f912ecaadba955f627e7457 by Michael Brooks
Fix IO stream to be warning-free.
The file was addedtests/nowarn/fstream.cfa
The file was modifiedlibcfa/src/bits/debug.hfa
The file was addedtests/nowarn/.expect/fstream.txt
The file was modifiedlibcfa/src/iostream.hfa
Commit d30c22957229a094959468625bda721051e9c843 by Michael Brooks
Add test for milestone: String is warning-free
The file was addedtests/nowarn/.expect/string.txt
The file was addedtests/nowarn/string.cfa