1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00
Commit Graph

10282 Commits

Author SHA1 Message Date
Stephan Mühlstrasser
ec652367d0 Support targets without cursor keys
Not all targets to have cursor keys on their keyboard. Add corresponding
#ifdefs to the conio test program.
2022-11-20 13:28:45 +01:00
Bob Andrews
e4f01a260d
Merge pull request #1844 from mrdudz/underscores
Fix name conflicts in standard headers by adding more Underscores
2022-11-19 22:09:03 +01:00
mrdudz
9a9bf9f2ea update note on identifiers 2022-11-19 19:06:14 +01:00
mrdudz
d6c37a757d Merge branch 'master' into underscores 2022-11-19 17:11:11 +01:00
Bob Andrews
3513342445
Merge pull request #1913 from acqn/Diagnostics
[cc65] Improved diagnostics on div-by-zero/bitwise-shift in unevaluated context and overall
2022-11-18 19:55:51 +01:00
Bob Andrews
a0a9cfdcd3
Merge pull request #1918 from acqn/PPFix
[cc65] Fixed bitwise-shift in preprocessor
2022-11-18 19:09:55 +01:00
Bob Andrews
93b015660d
Merge pull request #1899 from acqn/TypeCmpFix
[cc65] Fixed compatibility checks on "pointer to pointer" vs "pointer to array" etc.
2022-11-18 19:04:35 +01:00
mrdudz
eb8dbcd04d really update all jobs 2022-11-18 19:00:35 +01:00
mrdudz
9d78e10d4b update actions to use node16 instead of node12 2022-11-18 18:39:58 +01:00
mrdudz
b166dc4261 hopefully thats it 2022-11-18 18:19:31 +01:00
mrdudz
4c047bf11e yawn 2022-11-18 18:13:54 +01:00
mrdudz
bbe8c62e9d coffee 2022-11-18 18:13:15 +01:00
mrdudz
a6feeac5ed or msvc I64u ? 2022-11-18 18:10:07 +01:00
mrdudz
ca94cfcbac that perhaps? 2022-11-18 18:03:40 +01:00
mrdudz
4c6fddd300 i want a cookie each time i do this 2022-11-18 17:58:12 +01:00
mrdudz
feb839e7f0 narrisch werd i! 2022-11-18 17:55:22 +01:00
mrdudz
8a9029d393 hnnngg 2022-11-18 17:50:32 +01:00
mrdudz
c6ecee0748 Babydino sagt: nochmal! 2022-11-18 17:45:21 +01:00
mrdudz
5fb20dec91 commit message 2022-11-18 17:41:22 +01:00
mrdudz
5638e0916a spül es noch einmal, Sam 2022-11-18 17:39:35 +01:00
mrdudz
d1b7768064 yeah! 2022-11-18 17:27:51 +01:00
mrdudz
d68598165c and another 2022-11-18 17:24:05 +01:00
mrdudz
d459b5da87 another try 2022-11-18 17:20:44 +01:00
mrdudz
fdcc683997 shoot in the dark, try to fix ming build issue 2022-11-18 17:13:37 +01:00
Bob Andrews
0408d71cc5 fixes so "make clean" will work without failing on cmd.exe 2022-11-18 16:28:25 +01:00
Bob Andrews
1ce044c2b4
Merge pull request #1916 from spiro-trikaliotis/split-asm-listing-test-stdout-stderr
Split stdout and stderr in test/asm/
2022-11-18 16:17:20 +01:00
Bob Andrews
88b926e914
Merge pull request #1917 from acqn/CodeGen
[cc65] Clearer comments on and usage of code generator flags with type conversions in the primary register
2022-11-13 12:51:17 +01:00
acqn
dadca9e033 Fixed bitwise-shift in PP. 2022-11-13 16:32:41 +08:00
acqn
3bcfa735cb clearer comments on and usage of code generator flags with type conversions in the primary register. 2022-11-13 14:57:48 +08:00
Spiro Trikaliotis
d7a804d120 Split stdin and stdout in test/asm/
Some tests pipe the stdout and stderr of the compiler or assembler into
a file and compare the result with a reference. This has the subtle
problem that both stdout and stderr and buffered i/o streams that may or
may not work the same on different OSs or even shells. That means the
order of the lines in the resulting file is not guaranteed.

In practise it is "mostly" not an issue, but "we" still stumbled about
one test where different behaviour can be triggered depending on running
it in cmd.exe or bash (msys): test/asm/listing output of
010-paramcount.bin differs from the reference output when running the
test from cmd.exe.

The solution is most likely to have two reference files and not redirect
into one file.

This patch fixes the issue (cf. #1912) for the directory test/asm/.
2022-11-12 23:12:25 +01:00
acqn
7b436e9823 Added tests for #1895 fix. 2022-11-13 01:01:24 +08:00
acqn
9d693d2c80 Warnings instead of errors for division-by-zero/modulo-with-zero in evaluation. 2022-11-12 22:13:56 +08:00
acqn
cc177208b4 Added tests for diagnostics in unevaluated context. 2022-11-12 21:05:01 +08:00
acqn
73897aface Additional check for out of ranges of bit-fields in bitwise-shifts. 2022-11-12 12:36:22 +08:00
acqn
75be73cc8d Added utility functions to acquire bit width of types. 2022-11-12 12:32:27 +08:00
acqn
d0c9b2de99 Added basic shift count check for <<= and >>= operations. 2022-11-12 12:34:16 +08:00
acqn
2c3ca15d90 Fixed marking unevaluated subexpressions for conditional operator. 2022-11-12 12:32:27 +08:00
Bob Andrews
6924d44564
Merge pull request #1911 from acqn/TypeFix
[cc65] Organized type-related stuff better
2022-11-11 22:05:45 +01:00
Bob Andrews
ec2688b50e
Merge pull request #1910 from acqn/DeclFix
[cc65] Renamed a few functions and struct used for declaration parser
2022-11-11 21:41:04 +01:00
Bob Andrews
ace39197e5 move test to test/ref 2022-11-11 21:22:20 +01:00
Bob Andrews
9c48c0ab8a
Merge pull request #1900 from acqn/Diagnostics
[cc65] Fixed endlessly repeated error messages when a declaration lacks a required identifier
2022-11-11 21:08:53 +01:00
Bob Andrews
ebb33ee8b4 fix problem with copy command in cmd.exe 2022-11-11 20:54:38 +01:00
acqn
9253f0d6bc Added testcase for #1889. 2022-11-10 02:11:54 +08:00
mrdudz
a09053ce0b make test work again also on linux. why did this not break the github actions? 2022-11-09 01:07:36 +01:00
acqn
e10b5fd79b Renamed a few functions and struct used for declaration parser. 2022-11-08 14:42:52 +08:00
Bob Andrews
800c30604f
Merge pull request #1909 from silverdr/master
Updated ATTR_UNUSED() for clang
2022-11-06 14:06:56 +01:00
Silver Dream !
2dcccae036 Updated ATTR_UNUSED() for clang 2022-11-06 11:27:08 +00:00
mrdudz
5d1ad05cb8 oops 2022-11-05 20:48:53 +01:00
mrdudz
e5777f7ccf add ATTR_UNUSED on the flags variable 2022-11-05 20:38:07 +01:00
mrdudz
1452d8164d add ATTR_UNUSED and ATTR_NORETURN 2022-11-05 20:37:41 +01:00