Skip to content

Commit

Permalink
Suppress GCC compiler warning when compiled with -pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Apr 13, 2024
1 parent b5183c4 commit cf13d0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/include/kasld.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@
#if KERNEL_TEXT_DEFAULT < KERNEL_BASE_MIN
#error "Generated KERNEL_TEXT_DEFAULT is smaller than KERNEL_BASE_MIN"
#endif

// Suppress GCC compiler warning when compiled with -pedantic:
// warning: ISO C forbids an empty translation unit [-Wpedantic]
typedef int make_iso_compilers_happy;

0 comments on commit cf13d0f

Please sign in to comment.