Rangi42
|
e14ba664ea
|
Remove redundant (void) parameter declarations
|
2024-03-01 10:41:47 -05:00 |
|
Sylvie
|
eff8c324c8
|
Remove now-unnecessary struct keyword (#1320)
C++ acts like structs are `typedef`ed by default
We do have to keep `struct stat`, since there's ambiguity
with the function also called `stat`.
|
2024-02-29 14:41:58 -05:00 |
|
Rangi42
|
2ff723f943
|
Use vec.data() instead of &vec[0]
In general `vec.data()` is always safe, whereas `&vec[0]`
may fail when `vec` is empty.
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
96f354026a
|
Use automatic allocation for section data
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
002eed405b
|
Use automatic allocation for assertion error messages
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
ef1c1440a0
|
Use automatic allocation for symbol names
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
5a26a48d11
|
Use automatic allocation for section names
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
3c0af94c5c
|
Use automatic allocation for patches
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
48b2e94aa3
|
Use std::string for symbol/section/node names and assertion messages
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
52ac98c294
|
Use std::vector for section data
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
4cd88ade54
|
Use automatic allocation for object file symbols
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
f47ce337bf
|
Use std::vector for reading object file symbols
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
5075ac8887
|
Use std::vector for RPN expressions
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
d792ee4b61
|
Use std::vector for section patches
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
a5ea25cde5
|
Use automatic allocation for RPN stack
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
26a93a530b
|
Use std::deque for assertions
Also fix a memory leak
|
2024-02-29 13:44:08 -05:00 |
|
Rangi42
|
f44701c02d
|
Use std::map for rgblink symbols and sections
|
2024-02-29 13:44:08 -05:00 |
|
Sylvie
|
54d6a22d19
|
Build with pedantically standard C++ (#1309)
* Remove array designators (not standard C++)
* Build with pedantically standard C++
|
2024-02-23 16:46:53 -05:00 |
|
Sylvie
|
d71a161bc9
|
Phrase error messages as "Failed to", not "Could not" or "Couldn't" (#1298)
|
2024-02-18 14:52:31 +01:00 |
|
Rangi
|
6132b77c1e
|
Add more tests for RGBASM code coverage (#1257)
* Add more tests for RGBASM code coverage
* Use C++ unnamed parameters, not `(void)` casting
* Fix crash in `sect_AlignPC` from #1253
|
2023-12-01 10:21:43 -05:00 |
|
Rangi
|
a218622d73
|
Remove checkpatch, since it's tuned for C not C++ (#1250)
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
|
2023-11-22 19:26:08 +01:00 |
|
Rangi
|
dde9f2bb79
|
Rename some RPN constants for consistency (#1230)
|
2023-11-08 21:30:27 +01:00 |
|
Rangi
|
1e70e703a7
|
Build everything as C++ (#1176)
|
2023-11-07 21:45:56 +01:00 |
|