-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Clang/ATfE 21.1.1 fixes #2700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rgrr
wants to merge
11
commits into
raspberrypi:develop
Choose a base branch
from
rgrr:clang-corrections
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Clang/ATfE 21.1.1 fixes #2700
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
28aabfa
enhanced sysroot handling, sysroot did not took selected clib into ac…
rgrr 9d82a92
Merge remote-tracking branch 'origin/develop' into clang-corrections
rgrr 6feb9b9
make it compile with clang21.1.1: cmake changes for newlib/llvm_libc
rgrr 571d2ed
make it compile with clang21.1.1: llvm_libc_interface changes
rgrr 4a775ee
finetuning: now it is working also with picolibc
rgrr 9dd3ce5
correct bazel config
rgrr bf670a8
pico needs also some support
rgrr d13a84f
make newlib the default
rgrr f7255e7
code review I
rgrr 465dff2
use the same runtime_init() as for newlib -> picolibc now working for…
rgrr fe941af
catch the case that PICO_CLIB is not set
rgrr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/rp2_common/pico_clib_interface/include/picolibc/sys/cdefs.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
|
||
#ifndef __PICO_PICOLIBC_SYS_CDEFS_H | ||
#define __PICO_PICOLIBC_SYS_CDEFS_H | ||
|
||
#if defined(__STDC__) || defined(__cplusplus) | ||
|
||
#define __CONCAT1(x,y) x ## y | ||
#define __CONCAT(x,y) __CONCAT1(x,y) | ||
#define __STRING(x) #x | ||
#define __XSTRING(x) __STRING(x) | ||
|
||
#endif | ||
|
||
#define __unused __attribute__((__unused__)) | ||
#define __used __attribute__((__used__)) | ||
#define __packed __attribute__((__packed__)) | ||
#define __aligned(x) __attribute__((__aligned__(x))) | ||
|
||
#define __always_inline __inline__ __attribute__((__always_inline__)) | ||
#define __noinline __attribute__((__noinline__)) | ||
|
||
#define __printflike(fmtarg, firstvararg) \ | ||
__attribute__((__format__ (__printf__, fmtarg, firstvararg))) | ||
|
||
#include_next <sys/cdefs.h> | ||
|
||
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.