Skip to content

Commit

Permalink
fix(compilation): 'uint32_t' has not been declared with newer GCC (#3224
Browse files Browse the repository at this point in the history
)

In file included from /builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.cpp:25:
/builddir/build/BUILD/edgetx-2.8.1/radio/src/gui/colorlcd/str_functions.h:30:42: error: 'uint32_t' has not been declared
   30 | extern std::string wrap(std::string str, uint32_t width);
      |                                          ^~~~~~~~

Fixes #3222.
  • Loading branch information
adelton authored and pfeerick committed May 14, 2023
1 parent e55b6c7 commit da28e35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radio/src/gui/colorlcd/str_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* GNU General Public License for more details.
*/
#pragma once
#include <cstdint>
#include <wctype.h>
#include <string>
#include <iostream>
Expand Down

0 comments on commit da28e35

Please sign in to comment.