[parrot/parrot] 60cfac: [GH #836] Improve parsing pmc2c UNUSED arguments
GitHub
noreply at github.com
Wed Sep 26 00:48:58 UTC 2012
Branch: refs/heads/rurban/clang++-gh844
Home: https://github.com/parrot/parrot
Commit: 60cfaca0ca97ec9a47893eb8037015e428ce56f6
https://github.com/parrot/parrot/commit/60cfaca0ca97ec9a47893eb8037015e428ce56f6
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-18 (Tue, 18 Sep 2012)
Changed paths:
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
[GH #836] Improve parsing pmc2c UNUSED arguments
UNUSED(arg) amcros are now detected in pmc bodies and change the argument declaration
to SHIM().
Empty bodies with return 1; are now detected and the two args are SHIMed.
UNUSED(interp) cause a new warning to be replaced by UNUSED(INTERP).
Commit: 6afb068a5c723e27e323c59a7b87007a8109dc43
https://github.com/parrot/parrot/commit/6afb068a5c723e27e323c59a7b87007a8109dc43
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-18 (Tue, 18 Sep 2012)
Changed paths:
M config/auto/warnings.pm
Log Message:
-----------
warnings: Improve clang support
clang requires warnings overrides for -Wno-parentheses-equality
and adds -Wno-unused-result to src/ops/core_ops.c.
(used in 29582199aef9ea9462 [GH #828] Optimize print_n/i and say_n/i)
Commit: a95f757e247a3099d3c8a2ff5d6c7a1f234b3200
https://github.com/parrot/parrot/commit/a95f757e247a3099d3c8a2ff5d6c7a1f234b3200
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-18 (Tue, 18 Sep 2012)
Changed paths:
M config/gen/makefiles/root.in
Log Message:
-----------
Add ccwarn::src/ops/core_ops.c SUFFIX OVERRIDE for using (void)Parrot_io_write_b
Added with 29582199aef9ea94622b4202aee129521bc
Commit: ef4b571b684f1c9d6148dc9fa2a31112f1c45060
https://github.com/parrot/parrot/commit/ef4b571b684f1c9d6148dc9fa2a31112f1c45060
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-18 (Tue, 18 Sep 2012)
Changed paths:
M src/ops/core.ops
M src/ops/core_ops.c
M src/pmc/key.pmc
Log Message:
-----------
Add more UNUSED() declarations to key.pmc and core.ops
Commit: 19183d00be33924b2a6e0cad3894ac6e5558ef9c
https://github.com/parrot/parrot/commit/19183d00be33924b2a6e0cad3894ac6e5558ef9c
Author: Jonathan "Duke" Leto <jonathan at leto.net>
Date: 2012-09-19 (Wed, 19 Sep 2012)
Changed paths:
M docs/running.pod
M frontend/parrot2/prt0.winxed
Log Message:
-----------
Remove mentions of -d/-O/-v from --help output and docs/running.pod #838
Commit: bf60df5ce4a1a4ba3f414d4290bbf84e42fc6c2e
https://github.com/parrot/parrot/commit/bf60df5ce4a1a4ba3f414d4290bbf84e42fc6c2e
Author: Jonathan "Duke" Leto <jonathan at leto.net>
Date: 2012-09-19 (Wed, 19 Sep 2012)
Changed paths:
M docs/binaries/parrot.pod
M examples/pir/sudoku.pir
M frontend/parrot2/main.c
Log Message:
-----------
Remove more references to options that no longer exist #838
Commit: 4045afa353a4f1d25e8ef944fa30e438e62f0f41
https://github.com/parrot/parrot/commit/4045afa353a4f1d25e8ef944fa30e438e62f0f41
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M CREDITS
M ChangeLog
M Configure.pl
M MANIFEST
M MANIFEST.generated
M README.pod
M RESPONSIBLE_PARTIES
M VERSION
M compilers/imcc/optimizer.c
M config/auto/libffi.pm
M config/auto/warnings.pm
M config/gen/config_pm.pm
M config/gen/config_pm/config_lib_pir.in
M config/gen/makefiles/root.in
M docs/parrothist.pod
M docs/project/release_manager_guide.pod
A examples/benchmarks/stress_strings1.pir
A examples/benchmarks/stress_stringsu.pir
M include/parrot/oplib/core_ops.h
M src/ops/core_ops.c
M src/platform/generic/cpu_type.c
M src/pmc/bytebuffer.pmc
M src/string/api.c
M t/op/stringu.t
M t/pmc/bytebuffer.t
A t/pmc/bytebuffer2.t
M t/src/checkdepend.t
M t/steps/auto/libffi-01.t
M tools/release/parrot_github_release.pl
M tools/release/release.json
Log Message:
-----------
merge master into rurban/pmc2c-unused-gh836
Fix conflict in config/auto/warnings.pm
Commit: 1d37b987296de1ff3defbec0e0209162b628ceed
https://github.com/parrot/parrot/commit/1d37b987296de1ff3defbec0e0209162b628ceed
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M config/auto/warnings.pm
Log Message:
-----------
fixup wrong config/auto/warnings.pm merge
Commit: 562f9ab997e27a4ec1a1e591208e1d715f0a42fd
https://github.com/parrot/parrot/commit/562f9ab997e27a4ec1a1e591208e1d715f0a42fd
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
[GH #836] Allow UNUSED(word); the semicolon
Commit: f4a63d51242bebb358211e43367232b60bbffbcc
https://github.com/parrot/parrot/commit/f4a63d51242bebb358211e43367232b60bbffbcc
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M src/pmc/default.pmc
Log Message:
-----------
[GH #836] default thaw: SELF.init uses INTERP
Commit: 7c350cfdd6f234ee174397e48b39584cab525df4
https://github.com/parrot/parrot/commit/7c350cfdd6f234ee174397e48b39584cab525df4
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M config/gen/makefiles/root.in
Log Message:
-----------
pmc2c: use the current libs not the installed
pmc2c favored installed Parrot::Pmc2c libs over the current ones, which
made debugging Parrot::Pmc2c methods hard.
Commit: 847cb9bcc78a2d13d0735f99dfbdbe7112015a56
https://github.com/parrot/parrot/commit/847cb9bcc78a2d13d0735f99dfbdbe7112015a56
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M ChangeLog
M lib/Parrot/Pmc2c/Method.pm
M lib/Parrot/Pmc2c/PMC/Null.pm
M src/pmc/addrregistry.pmc
M src/pmc/class.pmc
M src/pmc/continuation.pmc
M src/pmc/default.pmc
M src/pmc/key.pmc
M src/pmc/orderedhashiterator.pmc
M src/pmc/pointer.pmc
M src/pmc/scheduler.pmc
M src/pmc/sub.pmc
M src/pmc/undef.pmc
Log Message:
-----------
[GH #836] Cleaned wrong UNUSED(arg) macros in all pmc's
Due to an improved pmc2c compiler, which SHIMs all UNUSED args,
a lot of wrong and/or badly placed UNUSED macros have been fixed.
Commit: 7913e25039432ff4273f5898ef803cfc3eab8ede
https://github.com/parrot/parrot/commit/7913e25039432ff4273f5898ef803cfc3eab8ede
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-24 (Mon, 24 Sep 2012)
Changed paths:
M config/auto/warnings.pm
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
[codingstd] GH #836 fix hard tabs
Commit: fdd0ca3cc18c7e79858e53ce5ba26bf94ef655c0
https://github.com/parrot/parrot/commit/fdd0ca3cc18c7e79858e53ce5ba26bf94ef655c0
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M src/dynpmc/gziphandle.pmc
Log Message:
-----------
[GH #844] Make gziphandle C++ safe
Wrap #include <zlib.h> into PMC_HEADER_PREAMBLE to be able to use
ATTR gzFile file. This is now C++ safe and clang++ compiles fine.
Commit: 0525faa867810706bbeb957befd9e44876257a23
https://github.com/parrot/parrot/commit/0525faa867810706bbeb957befd9e44876257a23
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M ChangeLog
M config/gen/makefiles/root.in
M lib/Parrot/Pmc2c/Method.pm
M lib/Parrot/Pmc2c/PMC/Null.pm
M src/ops/core.ops
M src/ops/core_ops.c
M src/pmc/addrregistry.pmc
M src/pmc/class.pmc
M src/pmc/continuation.pmc
M src/pmc/default.pmc
M src/pmc/key.pmc
M src/pmc/orderedhashiterator.pmc
M src/pmc/pointer.pmc
M src/pmc/scheduler.pmc
M src/pmc/sub.pmc
M src/pmc/undef.pmc
Log Message:
-----------
Merge branch 'rurban/pmc2c-unused-gh836'
Fixed conflict:
config/auto/warnings.pm
fixes already in master
Commit: ac0b13554d30aa8946be90f6095bdfbb61c7ea1d
https://github.com/parrot/parrot/commit/ac0b13554d30aa8946be90f6095bdfbb61c7ea1d
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
[GH #836] Catch also Scheduler.destroy and empty Undef bodies
Commit: ce2c408d3627ef0dddfc3b8961ba2cef0070f0d8
https://github.com/parrot/parrot/commit/ce2c408d3627ef0dddfc3b8961ba2cef0070f0d8
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
Merge branch 'rurban/pmc2c-unused-gh836'
Commit: eaa1466dda9172fb84701c7ac2e8db266f053fea
https://github.com/parrot/parrot/commit/eaa1466dda9172fb84701c7ac2e8db266f053fea
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M ChangeLog
M Configure.pl
M MANIFEST
M compilers/imcc/optimizer.c
M config/auto/libffi.pm
M config/auto/warnings.pm
M config/gen/config_pm.pm
M config/gen/config_pm/config_lib_pir.in
M config/gen/makefiles/root.in
M docs/project/release_manager_guide.pod
A examples/benchmarks/stress_strings1.pir
A examples/benchmarks/stress_stringsu.pir
M lib/Parrot/Pmc2c/Method.pm
M lib/Parrot/Pmc2c/PMC/Null.pm
M runtime/parrot/library/MIME/Base64.pir
M src/dynpmc/gziphandle.pmc
M src/ops/core.ops
M src/ops/core_ops.c
M src/platform/generic/cpu_type.c
M src/pmc/addrregistry.pmc
M src/pmc/bytebuffer.pmc
M src/pmc/class.pmc
M src/pmc/continuation.pmc
M src/pmc/default.pmc
M src/pmc/key.pmc
M src/pmc/orderedhashiterator.pmc
M src/pmc/pointer.pmc
M src/pmc/scheduler.pmc
M src/pmc/sub.pmc
M src/pmc/undef.pmc
M src/string/api.c
M t/dynpmc/select.t
M t/library/mime_base64.t
M t/op/stringu.t
M t/pmc/bytebuffer.t
A t/pmc/bytebuffer2.t
M t/pmc/filehandle.t
M t/pmc/nci.t
M t/pmc/parrotio.t
M t/pmc/stringhandle.t
M t/steps/auto/libffi-01.t
Log Message:
-----------
Merge remote-tracking branch 'origin/master' into gh838_cmdline_cleanup
Commit: 4879083ea39e288d405c81007b249a03bdb72bba
https://github.com/parrot/parrot/commit/4879083ea39e288d405c81007b249a03bdb72bba
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M ChangeLog
M config/gen/makefiles/root.in
M frontend/parrot2/prt0.pir
Log Message:
-----------
[GH #838] bootstrap-prt0, ChangeLog
Remind to call bootstrap-prt0 in Makefile when prt0.winxed is changed.
Called bootstrap-prt0
Added ChangeLog line, and whitespace fixes
Commit: a5bb6bf86d556781ad1b26356f2a469b6acf1247
https://github.com/parrot/parrot/commit/a5bb6bf86d556781ad1b26356f2a469b6acf1247
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M config/auto/warnings.pm
M lib/Parrot/Pmc2c/Method.pm
Log Message:
-----------
[codingstd] hard tabs
Commit: 14fa643cca799ee9d2add56e77ee6026e87b6cbc
https://github.com/parrot/parrot/commit/14fa643cca799ee9d2add56e77ee6026e87b6cbc
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M docs/binaries/parrot.pod
Log Message:
-----------
[codingstd] podcheck parrot.pod
Fixed various non-conformant pod: empty =item, =over for bodies
Commit: 5b1e564bd37e2541ef3c8572615ababf98e94cf0
https://github.com/parrot/parrot/commit/5b1e564bd37e2541ef3c8572615ababf98e94cf0
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M ChangeLog
M Configure.pl
M config/auto/warnings.pm
M config/gen/makefiles/root.in
M docs/binaries/parrot.pod
M docs/running.pod
M examples/pir/sudoku.pir
M frontend/parrot2/main.c
M frontend/parrot2/prt0.pir
M frontend/parrot2/prt0.winxed
M lib/Parrot/Pmc2c/Method.pm
M lib/Parrot/Pmc2c/PMC/Null.pm
M runtime/parrot/library/MIME/Base64.pir
M src/dynpmc/gziphandle.pmc
M src/ops/core.ops
M src/ops/core_ops.c
M src/platform/generic/cpu_type.c
M src/pmc/addrregistry.pmc
M src/pmc/bytebuffer.pmc
M src/pmc/class.pmc
M src/pmc/continuation.pmc
M src/pmc/default.pmc
M src/pmc/key.pmc
M src/pmc/orderedhashiterator.pmc
M src/pmc/pointer.pmc
M src/pmc/scheduler.pmc
M src/pmc/sub.pmc
M src/pmc/undef.pmc
M t/dynpmc/select.t
M t/library/mime_base64.t
M t/pmc/filehandle.t
M t/pmc/nci.t
M t/pmc/parrotio.t
M t/pmc/stringhandle.t
Log Message:
-----------
Merge branch 'master' into rurban/clang++-gh844
Commit: a51d23b7c05f8b9f78c403758f6174dc05f0cda9
https://github.com/parrot/parrot/commit/a51d23b7c05f8b9f78c403758f6174dc05f0cda9
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M MANIFEST
A config/auto/alignof.pm
A config/auto/alignof/test_c.in
M lib/Parrot/Configure/Step/List.pm
Log Message:
-----------
Merge branch 'rurban/clang++-gh844' of github.com:parrot/parrot into rurban/clang++-gh844
Commit: 843106d473bc185bd861be3b8bec4c65538d65e6
https://github.com/parrot/parrot/commit/843106d473bc185bd861be3b8bec4c65538d65e6
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-25 (Tue, 25 Sep 2012)
Changed paths:
M config/auto/attributes.pm
M config/auto/gcc.pm
M config/auto/warnings.pm
Log Message:
-----------
[GH #844] fix clang++ attributes, set -x c++ in cc
clang++ prints always a warning on c sources.
Move -x c++ from warnings upfront to cc, probed in auto::gcc
to be able to correctly probe for warnings and attributes.
This fixed almost all clang++ warnings, only dynoplibs
-Wno-parentheses-equality is missing for those.
Compare: https://github.com/parrot/parrot/compare/b57011143ada...843106d473bc
More information about the parrot-commits
mailing list