Download src/binutils/binutils-2.44/include/diagnostics.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/binutils/binutils-2.44/include/diagnostics.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/binutils/binutils-2.44/include/diagnostics.h
-
curl -L -o diagnostics.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/binutils/binutils-2.44/include/diagnostics.h
4.98 kB
| /* Copyright (C) 2017-2025 Free Software Foundation, Inc. | |
| This program is free software; you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; either version 3 of the License, or | |
| (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | |
| You should have received a copy of the GNU General Public License | |
| along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
| /* If at all possible, fix the source rather than using these macros | |
| to silence warnings. If you do use these macros be aware that | |
| you'll need to condition their use on particular compiler versions, | |
| which can be done for gcc using ansidecl.h's GCC_VERSION macro. | |
| gcc versions between 4.2 and 4.6 do not allow pragma control of | |
| diagnostics inside functions, giving a hard error if you try to use | |
| the finer control available with later versions. | |
| gcc prior to 4.2 warns about diagnostic push and pop. | |
| The other macros have restrictions too, for example gcc-5, gcc-6 | |
| and gcc-7 warn that -Wstringop-truncation is unknown, unless you | |
| also add DIAGNOSTIC_IGNORE ("-Wpragma"). */ | |
| /* Stringification. */ | |
| /* GCC 4.8's "diagnostic push/pop" seems broken when using this, -Wswitch | |
| remains enabled at the error level even after a pop. Therefore, don't | |
| use it for GCC < 5. */ | |