Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
780ca5bf
Commit
780ca5bf
authored
Jun 10, 2009
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
From-SVN: r148333
parent
f7bc95cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
include/ChangeLog
+5
-1
include/ansidecl.h
+15
-6
No files found.
include/ChangeLog
View file @
780ca5bf
2009-06-02 Ian Lance Taylor <iant@google.com>
2009-06-09 Ian Lance Taylor <ian@airs.com>
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
2009-06-03 Ian Lance Taylor <iant@google.com>
* ansidecl.h (EXPORTED_CONST): Define.
* ansidecl.h (EXPORTED_CONST): Define.
...
...
include/ansidecl.h
View file @
780ca5bf
...
@@ -261,14 +261,23 @@ So instead we use the macro below and test it against specific values. */
...
@@ -261,14 +261,23 @@ So instead we use the macro below and test it against specific values. */
# endif
/* GNUC >= 2.96 */
# endif
/* GNUC >= 2.96 */
#endif
/* ATTRIBUTE_MALLOC */
#endif
/* ATTRIBUTE_MALLOC */
/* Attributes on labels were valid as of gcc 2.93. */
/* Attributes on labels were valid as of gcc 2.93 and g++ 4.5. For
g++ an attribute on a label must be followed by a semicolon. */
#ifndef ATTRIBUTE_UNUSED_LABEL
#ifndef ATTRIBUTE_UNUSED_LABEL
# if (!defined (__cplusplus) && GCC_VERSION >= 2093)
# ifndef __cplusplus
# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED
# if GCC_VERSION >= 2093
# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED
# else
# define ATTRIBUTE_UNUSED_LABEL
# endif
# else
# else
# define ATTRIBUTE_UNUSED_LABEL
# if GCC_VERSION >= 4005
# endif
/* !__cplusplus && GNUC >= 2.93 */
# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED ;
#endif
/* ATTRIBUTE_UNUSED_LABEL */
# else
# define ATTRIBUTE_UNUSED_LABEL
# endif
# endif
#endif
#ifndef ATTRIBUTE_UNUSED
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment