-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from xantares/master
fix gcc5 build
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,22 @@ | ||
--- gcc/cp/cfns.h.orig 2015-02-13 08:27:46.000000000 +0200 | ||
+++ gcc/cp/cfns.h 2015-02-13 10:23:53.000000000 +0200 | ||
@@ -53,6 +53,9 @@ | ||
static unsigned int hash (const char *, unsigned int); | ||
#ifdef __GNUC__ | ||
__inline | ||
+#ifdef __GNUC_STDC_INLINE__ | ||
+__attribute__ ((__gnu_inline__)) | ||
+#endif | ||
#endif | ||
const char * libc_name_p (const char *, unsigned int); | ||
/* maximum key range = 391, duplicates = 0 */ | ||
@@ -96,7 +99,7 @@ | ||
400, 400, 400, 400, 400, 400, 400, 400, 400, 400, | ||
400, 400, 400, 400, 400, 400, 400 | ||
}; | ||
- register int hval = len; | ||
+ register int hval = (int)len; | ||
|
||
switch (hval) | ||
{ | ||
|
This file contains 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