Last change
on this file since 048dde4 was
7959e56,
checked in by Michael Brooks <mlbrooks@…>, 2 months ago
|
Eliminate libcfa-build warnings of missing int-to-pointer casts.
Replace a zero_t variable use with literal 0 when it's an argument to an intrinsic and we're generating final C code. Partially revert e0330d2cd1a. Such intrinsics are initialization/assignment of pointers; using the variable implies a missing cast, while using literal 0 needs no cast.
CodeGenerator?.hpp
CodeGenerator?.cpp
Put attibute unused on all zero_t/one_t object decls. It is needed on those whose uses are rewritten by the rule above.
Generate.cpp
|
-
Property mode set to
100644
|
File size:
144 bytes
|
Line | |
---|
1 | zero_one.cfa:80:1 error: Invalid application of existing declaration(s) in expression Applying untyped: |
---|
2 | Name: ?=? |
---|
3 | ...to: |
---|
4 | Name: p |
---|
5 | Name: o |
---|
6 | |
---|
Note: See
TracBrowser
for help on using the repository browser.