Colin Leroy-Mira
df193c0947
Rework time functions a bit
...
- mktime: Work unsigned as time_t's type implies (shifting Y2K38 bug to 2106)
- mktime: Add unit tests
- gmtime/localtime: factorize
- gmtime/localtime: Add unit tests
- mktime/gmtime/localtime: Size optimisation (-130 bytes wrt master)
- mktime: Speed optimisation (from 23M cycles on the unit test to 2M)
2024-01-08 18:24:13 +01:00
mrdudz
29801a2fde
remove extra format specifier, fixed #2330
2024-01-06 17:53:24 +01:00
Bob Andrews
82f01af6ec
Merge pull request #2333 from polluks/patch-11
...
Update README.md for new target
2024-01-06 17:41:39 +01:00
Bob Andrews
c379d03dfb
Merge pull request #2332 from polluks/patch-10
...
Clean-up
2024-01-06 17:40:58 +01:00
Bob Andrews
1b5371b42d
Merge pull request #2335 from jedeoric/master
...
Add routine identifier for Telestrat target
2024-01-05 11:07:16 +01:00
jedeoric
bcea5dfa8f
fix comment telestrat
2024-01-05 00:46:15 +01:00
jedeoric
726b70a534
add XMAINARGS and XGETARGV for Telestrat
2024-01-05 00:45:03 +01:00
Stefan
dc9d2f0dbd
Update README.md
2024-01-03 16:46:07 +01:00
Stefan
075ece5faf
Clean-up
...
void is always fast
2024-01-03 16:35:12 +01:00
Colin Leroy-Mira
75461e1319
Apple2: implement stat(2) and statvfs(3)
2024-01-01 19:12:51 +01:00
Bob Andrews
4343eebe67
Merge pull request #2314 from acqn/PPFix
...
[cc65] Separated C preprocessor errors from other errors
2023-12-31 19:16:44 +01:00
Bob Andrews
9e3d1e1027
Merge pull request #2309 from acqn/Diagnostics
...
[cc65] Added warning on static functions that are used but not defined
2023-12-31 19:15:48 +01:00
Bob Andrews
0ece9449d7
Merge pull request #2307 from acqn/FuncDeclFix
...
[cc65] Fixed function declarator parser when a parameter has a function type
2023-12-31 19:11:25 +01:00
Bob Andrews
7297d2c8b6
Merge pull request #2310 from pm100/vs64
...
second try at fixing win64 build
2023-12-31 18:54:23 +01:00
Bob Andrews
d0903ba225
Merge pull request #2311 from bbbradsmith/ca65-struct-doc-clarify
...
ca65 struct and union documentation improvement and feature testing.
2023-12-31 18:51:09 +01:00
Bob Andrews
98b9814692
Merge pull request #2318 from alexthissen/lynxincludes
...
Added SPRCTL0 and SPRCTL1 bit definitions for ca65
2023-12-31 18:46:49 +01:00
Alex Thissen
66e354961c
Missed some tabs
2023-12-29 22:48:36 +01:00
Alex Thissen
061d907a11
Fixed tabs instead of spaces
2023-12-29 22:46:15 +01:00
Alex Thissen
e5f9def572
Added SPRCTL0 and SPRCTL1 bit definitions for ca65
2023-12-29 22:37:18 +01:00
acqn
b876a6b213
Fixed cc65 exitcode when there are only preprocessor errors.
2023-12-19 19:30:50 +08:00
acqn
cd7c688dff
Separated C preprocessor errors from other errors.
2023-12-18 15:30:53 +08:00
bbbradsmith
9892c8f6c4
using less generic names for the example to avoid confusion, adding cautionary example for what I think is the most error prone case
2023-12-17 05:40:00 -05:00
bbbradsmith
302c4f7409
clarify offsets of anonymous nested scope, missing quotes for names
2023-12-17 05:01:06 -05:00
bbbradsmith
0ff1b20f2a
nested struct example needs a .tag
2023-12-16 19:52:57 -05:00
bbbradsmith
f6838be162
missing <tt>
2023-12-16 19:32:52 -05:00
bbbradsmith
6cb8717c24
fix dangling space, mention .union in test comment
2023-12-16 19:25:21 -05:00
bbbradsmith
0d74b84ce4
Test of .struct and .union features. Update documentation with more examples, better clarity, and fixes to incorrect data.
2023-12-16 19:18:25 -05:00
paul moore
103d4b82c5
more msbuild syntax fixes
2023-12-14 14:43:58 -08:00
paul moore
269786a5ae
fix msbuild syntax
2023-12-14 14:38:24 -08:00
paul moore
08341aae30
second try at fixing win64 build
2023-12-14 14:25:35 -08:00
Colin Leroy-Mira
1093d169ad
Fix BSS obliteration by mliparam during exec().
...
Using mliparam at this time could lead to corruption at the
start of the new executed program if BSS is real full and
mliparam is over $BB00.
The fix is to open the file from the loader stub instead of doing
it before the C library shutdown.
2023-12-14 16:47:33 +01:00
acqn
a5746227dc
Added warning on static functions that are used but not defined.
2023-12-14 21:27:48 +08:00
acqn
1e4d1b4311
Fixed function declarator parser when a parameter has a function type.
...
Ensured check on parameter lists without types in non-definition declarations.
2023-12-14 02:34:03 +08:00
Bob Andrews
05aae60816
Merge pull request #2305 from acqn/FuncDeclFix
...
[cc65] Fixed missing diagnosis on function parameter lists with trailing commas
2023-12-13 19:17:59 +01:00
acqn
f8fe1d1560
Fixed missing diagnosis on function parameter lists with trailing commas.
2023-12-13 22:57:32 +08:00
Bob Andrews
bc97bce8c1
Merge pull request #2297 from acqn/WrappedCall
...
[cc65] Fixed wrapped call when the function was defined before its later declaration gets wrapped with the pragma
2023-12-12 17:11:47 +01:00
Bob Andrews
e90e7f46de
Merge pull request #2298 from acqn/Diagnostics
...
[cc65] More accurate diagnostic messages on empty declarations without any type specifiers
2023-12-12 17:06:54 +01:00
mrdudz
b1c1502494
MS compiler insists on those typecasts apparently
2023-12-11 00:35:07 +01:00
mrdudz
9985ee7f61
fix %hhn and %hn in the internal xvsnprintf function
2023-12-11 00:18:40 +01:00
mrdudz
6b855d562a
use -std=gnu17 for the references, so the test bench will not break with GCC 14. see #2277
2023-12-10 23:18:55 +01:00
mrdudz
0b077f561f
exclude test directory from some style checks - it makes no sense to enforce these things in the test bench, we need to be able to test all kinds of spaces and tabs :)
2023-12-10 22:43:47 +01:00
Bob Andrews
cc5e9c38ca
Merge pull request #2296 from acqn/Diagnostics
...
[cc65] Fixed and improved diagnostics regarding type names and declarations
2023-12-10 22:32:33 +01:00
mrdudz
b31a1c7c0c
test for regression that occured after #2262
2023-12-10 22:18:59 +01:00
Bob Andrews
9634cc4d1e
Merge pull request #2295 from colinleroy/fix-2262-too-eager-opt
...
Fix #2262 : Make sure there's no branching after the sequence
2023-12-10 19:16:38 +01:00
acqn
befc9533c6
More accurate diagnostic messages on empty declarations without any type specifiers.
2023-12-10 20:21:50 +08:00
acqn
bbd542fac7
Fixed missing diagnosis on extra identifiers in type names.
2023-12-10 17:01:54 +08:00
Colin Leroy-Mira
07c71541f4
Fix #2262 : Make sure there's no branching after the sequence
...
Also better check that arguments match
2023-12-10 09:45:15 +01:00
acqn
3215d377ea
More accurate diagnostic messages on wrong missing declaration specifiers.
2023-12-10 15:46:48 +08:00
acqn
cadf8012f6
Improved error recovery with type cast and sizeof.
2023-12-10 15:43:24 +08:00
acqn
a1a060c291
Declaration specifier flags cleanup.
2023-12-10 15:43:24 +08:00