Skip to content

Commit

Permalink
0.3. Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonsmartins committed Feb 1, 2024
1 parent 61d6543 commit 6b659e7
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Install Prerequisites
Expand All @@ -69,4 +69,4 @@ jobs:
# Perform Analysis
# ------------------------------------------------------------------------
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2
4 changes: 2 additions & 2 deletions .github/workflows/doc-firmware.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand All @@ -25,7 +25,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand All @@ -25,7 +25,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Install Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/software.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Install MinGW (Windows)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-firmware.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Configure CMake
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-software.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ------------------------------------------------------------------------------
# USB EPROM/Flash Programmer
#
# Copyright (2022) Robson Martins
# Copyright (2024) Robson Martins
#
# This work is licensed under a Creative Commons Attribution-NonCommercial-
# ShareAlike 4.0 International License.
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
# Checkout the sources
# ------------------------------------------------------------------------
- name: Checkout the Sources
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Install Prerequisites
Expand Down
10 changes: 10 additions & 0 deletions software/usbflashprog/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@

// ---------------------------------------------------------------------------

#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
// clang-format off
namespace Qt {
static auto endl = ::endl;
}
// clang-format on
#endif

// ---------------------------------------------------------------------------

// clang-format off
const double kAppVersionArray[] = {
# include "VERSION"
Expand Down

0 comments on commit 6b659e7

Please sign in to comment.