From c039a5229dcfaccd9902734c484a8e83b3d2c387 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 5 Jan 2023 07:25:34 -0500 Subject: [PATCH] github: Remove 18.04 --- .github/workflows/build.yml | 4 ++-- docs/guide/copyright.rst | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 073721400..6e504dcfa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-22.04, ubuntu-20.04] compiler: - { cc: clang, cxx: clang++ } - { cc: gcc, cxx: g++ } @@ -97,7 +97,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-22.04, ubuntu-20.04] compiler: - { cc: clang, cxx: clang++ } - { cc: gcc, cxx: g++ } diff --git a/docs/guide/copyright.rst b/docs/guide/copyright.rst index 2eba06d51..2839bddc7 100644 --- a/docs/guide/copyright.rst +++ b/docs/guide/copyright.rst @@ -17,3 +17,21 @@ All Verilog and C++/SystemC code quoted within this documentation file is released as Creative Commons Public Domain (CC0). Many example files and test files are likewise released under CC0 into effectively the Public Domain as described in the files themselves. + + Warns that the lifetime of a task or a function was not provided and so + was implicitly set to static. The warning is suppressed when no + variables inside the task or a function are assigned to. + + This is a warning because the static default differs from C++, differs + from class member function/tasks. Static is a more dangerous default + then automatic as static prevents the function from being reinterant, + which may be a source of bugs, and/or performance issues. + + If the function does not require static behavior, change it to "function + automatic". + + If the function requires static behavior, change it to "function + static". + + Ignoring this warning will only suppress the lint check; it will + simulate correctly.