[flang-commits] [flang] 08ce89d - [Flang] Explicitly include cstdint (NFC)

Nikita Popov via flang-commits flang-commits at lists.llvm.org
Fri Jan 20 01:03:34 PST 2023


Author: Nikita Popov
Date: 2023-01-20T10:03:21+01:00
New Revision: 08ce89d3088dc0a6dd9d3b7455222aa35894c1d5

URL: https://github.com/llvm/llvm-project/commit/08ce89d3088dc0a6dd9d3b7455222aa35894c1d5
DIFF: https://github.com/llvm/llvm-project/commit/08ce89d3088dc0a6dd9d3b7455222aa35894c1d5.diff

LOG: [Flang] Explicitly include cstdint (NFC)

This header uses std::int8_t, but does not include cstdint.

This fixes the build against libstc++ 13, where some indirect
header includes have been removed.

Added: 
    

Modified: 
    flang/include/flang/Parser/characters.h

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Parser/characters.h b/flang/include/flang/Parser/characters.h
index 1a7d395be2bf7..239be8d4bf4aa 100644
--- a/flang/include/flang/Parser/characters.h
+++ b/flang/include/flang/Parser/characters.h
@@ -14,6 +14,7 @@
 // also to accomodate Fortran tokenization.
 
 #include <cstddef>
+#include <cstdint>
 #include <optional>
 #include <string>
 


        


More information about the flang-commits mailing list