aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/attrib.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2018-11-04 23:34:44 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2018-11-04 23:34:44 +0000
commitf9ab59ffe7f22c533df54f28cd7e71affbce854b (patch)
tree450d012939fe9a9d4435c2cf7002a626c0431429 /gcc/d/dmd/attrib.h
parente8bf3d5ed983791a658b86f4eae338e13b6fdc3f (diff)
downloadgcc-f9ab59ffe7f22c533df54f28cd7e71affbce854b.zip
gcc-f9ab59ffe7f22c533df54f28cd7e71affbce854b.tar.gz
gcc-f9ab59ffe7f22c533df54f28cd7e71affbce854b.tar.bz2
Merge dmd upstream 6243fa6d2
This introduces a new header that pulls in system includes for use only in the DMD front-end part of the compiler, fixing up uses of problematic functions that are prevalent throughout the code. Commits merged from dmd. Fix build of the D frontend on the Hurd and KFreeBSD. Initial patch from Matthias Klose. https://github.com/dlang/dmd/pull/8893 Don't care about D/C++ compatibility in C++ port. Fixes build error in https://gcc.gnu.org/PR87788 https://github.com/dlang/dmd/pull/8895 Allow compiling front-end headers with strict warnings. https://github.com/dlang/dmd/pull/8909 Add root/system.h header for wrapping system includes. Fixes https://gcc.gnu.org/PR87865 https://github.com/dlang/dmd/pull/8910 Move checkedint to dmd/root. https://github.com/dlang/dmd/pull/8912 Use rmem instead of libc for malloc() and strdup(). https://github.com/dlang/dmd/pull/8913 Use align(8) for alignment of UnionExp, fixing several BUS errors due to alignment issues on SPARC. https://github.com/dlang/dmd/pull/8914 Don't pass NULL pointer as format parameter to errorSupplemental. https://github.com/dlang/dmd/pull/8916 gcc/d/ChangeLog: 2018-11-05 Iain Buclaw <ibuclaw@gdcproject.org> PR d/87865 * d-system.h: New file. From-SVN: r265780
Diffstat (limited to 'gcc/d/dmd/attrib.h')
-rw-r--r--gcc/d/dmd/attrib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/d/dmd/attrib.h b/gcc/d/dmd/attrib.h
index 83486a9..a491605 100644
--- a/gcc/d/dmd/attrib.h
+++ b/gcc/d/dmd/attrib.h
@@ -212,10 +212,10 @@ public:
Dsymbols *cache;
Dsymbol *syntaxCopy(Dsymbol *s);
- bool oneMember(Dsymbol *ps, Identifier *ident);
+ bool oneMember(Dsymbol **ps, Identifier *ident);
Dsymbols *include(Scope *sc, ScopeDsymbol *sds);
void addMember(Scope *sc, ScopeDsymbol *sds);
- void addComment(const char *comment);
+ void addComment(const utf8_t *comment);
void setScope(Scope *sc);
void importAll(Scope *sc);
void semantic(Scope *sc);