[parrot/parrot] 900257: [cage] Fix some more compiler attributes, disable ...
GitHub
noreply at github.com
Wed Dec 31 15:10:25 UTC 2014
Branch: refs/heads/smoke-me/attributes-gh1163
Home: https://github.com/parrot/parrot
Commit: 90025716efcb3b588cd3dca5fd0acde68bc5f599
https://github.com/parrot/parrot/commit/90025716efcb3b588cd3dca5fd0acde68bc5f599
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-12-31 (Wed, 31 Dec 2014)
Changed paths:
M compilers/imcc/imc.h
M include/parrot/compiler.h
M include/parrot/io.h
M include/parrot/string_funcs.h
M lib/Parrot/Headerizer.pm
M lib/Parrot/Headerizer/Functions.pm
M tools/dev/pbc_to_exe.winxed
Log Message:
-----------
[cage] Fix some more compiler attributes, disable gcc returns_nonnull
Found a new unknown gcc bug with __attribute__((returns_nonnull)), tested ok
with MSVC and clang. Will be hard to track down where in gimple and in
which of our function exactly.
Add the _Check_return_ MSVC SAL variant,
the new _Ret_maybenull_ variant which replaces __maybenull not yet.
Remove one more wrong PARROT_CANNOT_RETURN_NULL in pbc_to_exe generation.
See GH #1163
Commit: 3f688225fd355aa2407faad48678a6af6df6c6f2
https://github.com/parrot/parrot/commit/3f688225fd355aa2407faad48678a6af6df6c6f2
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-12-31 (Wed, 31 Dec 2014)
Changed paths:
M include/parrot/io.h
M include/parrot/packfile.h
M src/io/api.c
M src/packfile/api.c
Log Message:
-----------
deprecations: add the DEPRECATED attribute to all deprecated functions
Several of the packfile API functions are still used by us.
Commit: ebe2fba077670aefa7b9f43fdea0c564f87c9031
https://github.com/parrot/parrot/commit/ebe2fba077670aefa7b9f43fdea0c564f87c9031
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-12-31 (Wed, 31 Dec 2014)
Changed paths:
M ChangeLog
M config/auto/attributes.pm
M config/auto/attributes/test_c.in
M config/gen/config_h.pm
M config/gen/config_h/has_header_h.in
M include/parrot/compiler.h
Log Message:
-----------
[config] move HASATTRIBUTE_* from ccflags to has_header.h
also undefine a HASATTRIBUTE_ on any warning or error.
override the gcc bugfix in compile.h for returns_nonnull in the probe,
so that the probe does not lie.
Closes GH #1163
Compare: https://github.com/parrot/parrot/compare/f723358c53d6...ebe2fba07767
More information about the parrot-commits
mailing list