Skip to content

Commit 5566d88

Browse files
committed
Fix "undeclared identifier" error
This change is required to fix this error: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/stdio/printf_core/converter.cpp:9: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/stdio/printf_core/converter.h:12: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/stdio/printf_core/core_structs.h:13: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/__support/FPUtil/FPBits.h:17: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/__support/FPUtil/FloatProperties.h:12: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/__support/UInt128.h:12: In file included from /local/mnt/workspace/upstream/llvm-project/libc/src/__support/UInt.h:17: /local/mnt/workspace/upstream/llvm-project/libc/src/__support/integer_utils.h:51:13: error: use of undeclared identifier 'add_with_carry' 51 | auto r1 = add_with_carry(prod.lo, lo_hi.lo << 32, uint64_t(0)); | ^ /local/mnt/workspace/upstream/llvm-project/libc/src/__support/integer_utils.h:55:13: error: use of undeclared identifier 'add_with_carry' 55 | auto r2 = add_with_carry(prod.lo, hi_lo.lo << 32, uint64_t(0)); | ^
1 parent 0f5b4b4 commit 5566d88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/src/__support/integer_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "src/__support/common.h"
1414

1515
#include "bit.h"
16+
#include "math_extras.h"
1617
#include "number_pair.h"
1718

1819
#include <stdint.h>

0 commit comments

Comments
 (0)