scc.git
5 weeks agoBetter warning control
Robert Pengelly [Tue, 25 Aug 2026 02:05:04 +0000 (03:05 +0100)]
Better warning control

5 weeks agoAdded warning for static functions used but never defined
Robert Pengelly [Mon, 24 Aug 2026 12:37:30 +0000 (13:37 +0100)]
Added warning for static functions used but never defined

5 weeks agoAdded GCC extended asm support
Robert Pengelly [Mon, 24 Aug 2026 08:35:12 +0000 (09:35 +0100)]
Added GCC extended asm support

5 weeks agoAdded naked function support
Robert Pengelly [Mon, 24 Aug 2026 06:58:44 +0000 (07:58 +0100)]
Added naked function support

6 weeks agoFixed parsing of unreachable code
Robert Pengelly [Sun, 23 Aug 2026 16:33:13 +0000 (17:33 +0100)]
Fixed parsing of unreachable code

6 weeks agoAdded initializer warnings
Robert Pengelly [Sun, 23 Aug 2026 11:53:21 +0000 (12:53 +0100)]
Added initializer warnings

6 weeks agoAdded fallthrough warnings
Robert Pengelly [Sun, 23 Aug 2026 11:43:06 +0000 (12:43 +0100)]
Added fallthrough warnings

6 weeks agoAdded shadow warnings
Robert Pengelly [Sun, 23 Aug 2026 11:22:17 +0000 (12:22 +0100)]
Added shadow warnings

6 weeks agoAdded unused warnings
Robert Pengelly [Sun, 23 Aug 2026 11:07:02 +0000 (12:07 +0100)]
Added unused warnings

6 weeks agoAdded signedness comparison warnings
Robert Pengelly [Sun, 23 Aug 2026 10:33:18 +0000 (11:33 +0100)]
Added signedness comparison warnings

6 weeks agoAdded __attribute__((alias)) support
Robert Pengelly [Sun, 23 Aug 2026 02:20:17 +0000 (03:20 +0100)]
Added __attribute__((alias)) support

6 weeks agoAdded C99 for support
Robert Pengelly [Sun, 23 Aug 2026 00:41:29 +0000 (01:41 +0100)]
Added C99 for support

6 weeks agoAdded __assume support for MSVC compatibility
Robert Pengelly [Sun, 23 Aug 2026 00:01:38 +0000 (01:01 +0100)]
Added __assume support for MSVC compatibility

6 weeks agoAdded __builtin_unreachable support
Robert Pengelly [Sat, 22 Aug 2026 17:13:23 +0000 (18:13 +0100)]
Added __builtin_unreachable support

6 weeks agoFixed floating-point dereference in va_arg expressions
Robert Pengelly [Sat, 22 Aug 2026 16:37:50 +0000 (17:37 +0100)]
Fixed floating-point dereference in va_arg expressions

6 weeks agoSupport __attribute__((ms_abi)) for compatibility but nothing needs to be done as...
Robert Pengelly [Fri, 21 Aug 2026 01:35:09 +0000 (02:35 +0100)]
Support __attribute__((ms_abi)) for compatibility but nothing needs to be done as we already use that form

6 weeks agoAdded __attribute__ support
Robert Pengelly [Fri, 21 Aug 2026 01:27:17 +0000 (02:27 +0100)]
Added __attribute__ support

6 weeks agoAdded -Wxx messages to help
Robert Pengelly [Thu, 20 Aug 2026 14:36:24 +0000 (15:36 +0100)]
Added -Wxx messages to help

6 weeks agoAdded comma seperated support
Robert Pengelly [Thu, 20 Aug 2026 14:08:14 +0000 (15:08 +0100)]
Added comma seperated support

6 weeks agoAdded noreturn support
Robert Pengelly [Thu, 20 Aug 2026 14:01:40 +0000 (15:01 +0100)]
Added noreturn support

6 weeks agoChanged to __declspec to hopefully make adding things easier
Robert Pengelly [Thu, 20 Aug 2026 13:08:59 +0000 (14:08 +0100)]
Changed to __declspec to hopefully make adding things easier

6 weeks agoFixed define warning and started warning levels
Robert Pengelly [Thu, 20 Aug 2026 12:38:04 +0000 (13:38 +0100)]
Fixed define warning and started warning levels

6 weeks agoRemoved C90 limitations and NO_LONG_LONG related stuff as even MinGW on Windows 2000...
Robert Pengelly [Wed, 19 Aug 2026 11:38:08 +0000 (12:38 +0100)]
Removed C90 limitations and NO_LONG_LONG related stuff as even MinGW on Windows 2000 works

6 weeks agoRemoved all PDOS related stuff
Robert Pengelly [Wed, 19 Aug 2026 09:45:17 +0000 (10:45 +0100)]
Removed all PDOS related stuff

7 weeks agolong long fixes
Robert Pengelly [Sun, 16 Aug 2026 10:31:23 +0000 (11:31 +0100)]
long long fixes

7 weeks agoDEref fix
Robert Pengelly [Sat, 15 Aug 2026 07:16:00 +0000 (08:16 +0100)]
DEref fix

7 weeks agoUnary dereference fix
Robert Pengelly [Fri, 14 Aug 2026 14:40:42 +0000 (15:40 +0100)]
Unary dereference fix

8 weeks agoCompound and array fixes
Robert Pengelly [Sun, 9 Aug 2026 07:51:18 +0000 (08:51 +0100)]
Compound and array fixes

2 months agoOffset and signedness fixes
Robert Pengelly [Sun, 19 Jul 2026 17:47:08 +0000 (18:47 +0100)]
Offset and signedness fixes

2 months agoAggregate fix
Robert Pengelly [Sun, 19 Jul 2026 00:04:19 +0000 (01:04 +0100)]
Aggregate fix

2 months agoMore codegen fixes
Robert Pengelly [Sat, 18 Jul 2026 20:02:13 +0000 (21:02 +0100)]
More codegen fixes

2 months agoCodegen fixes
Robert Pengelly [Sat, 18 Jul 2026 19:49:24 +0000 (20:49 +0100)]
Codegen fixes

2 months agoOffset fixes
Robert Pengelly [Fri, 17 Jul 2026 14:28:26 +0000 (15:28 +0100)]
Offset fixes

2 months agoCasting and signedness fixes
Robert Pengelly [Fri, 17 Jul 2026 10:18:31 +0000 (11:18 +0100)]
Casting and signedness fixes

2 months agoArray emition fix
Robert Pengelly [Thu, 16 Jul 2026 15:56:18 +0000 (16:56 +0100)]
Array emition fix

2 months agoFixed local initialization
Robert Pengelly [Thu, 16 Jul 2026 08:03:38 +0000 (09:03 +0100)]
Fixed local initialization

2 months agoMore sizeof fixes
Robert Pengelly [Wed, 15 Jul 2026 23:43:55 +0000 (00:43 +0100)]
More sizeof fixes

2 months agoFixed ADM64 sizeof
Robert Pengelly [Wed, 15 Jul 2026 22:36:18 +0000 (23:36 +0100)]
Fixed ADM64 sizeof

2 months agoDon't assign when declaring
Robert Pengelly [Wed, 15 Jul 2026 20:35:58 +0000 (21:35 +0100)]
Don't assign when declaring

2 months agoMAcro and codegen fixes
Robert Pengelly [Wed, 15 Jul 2026 19:54:54 +0000 (20:54 +0100)]
MAcro and codegen fixes

2 months agoCodegen and postfix fixes
Robert Pengelly [Wed, 15 Jul 2026 14:04:45 +0000 (15:04 +0100)]
Codegen and postfix fixes

2 months agoBug fixes
Robert Pengelly [Wed, 15 Jul 2026 08:51:36 +0000 (09:51 +0100)]
Bug fixes

2 months agoCorrected diagnositics, 64-bit fixes and macro fixes
Robert Pengelly [Tue, 14 Jul 2026 18:12:52 +0000 (19:12 +0100)]
Corrected diagnositics, 64-bit fixes and macro fixes

2 months agoSegfault, corruption and codegen fixes
Robert Pengelly [Mon, 13 Jul 2026 07:28:03 +0000 (08:28 +0100)]
Segfault, corruption and codegen fixes

2 months agoRemoved Makefile.wat
Robert Pengelly [Wed, 8 Jul 2026 16:57:53 +0000 (17:57 +0100)]
Removed Makefile.wat

2 months agoFixed add64
Robert Pengelly [Wed, 8 Jul 2026 16:54:46 +0000 (17:54 +0100)]
Fixed add64

3 months agoAllow scalar long long assignment.
Robert Pengelly [Fri, 3 Jul 2026 14:28:04 +0000 (15:28 +0100)]
Allow scalar long long assignment.

3 months agoI386 fix
Robert Pengelly [Mon, 29 Jun 2026 04:29:57 +0000 (05:29 +0100)]
I386 fix

3 months agoAlignment and AMD64 fixes
Robert Pengelly [Sat, 27 Jun 2026 07:30:14 +0000 (08:30 +0100)]
Alignment and AMD64 fixes

3 months ago64-bit fixes
Robert Pengelly [Fri, 26 Jun 2026 16:48:30 +0000 (17:48 +0100)]
64-bit fixes

3 months agoFied segmentation fault
Robert Pengelly [Thu, 25 Jun 2026 22:24:55 +0000 (23:24 +0100)]
Fied segmentation fault

3 months agoCodegen fixes
Robert Pengelly [Thu, 25 Jun 2026 11:56:16 +0000 (12:56 +0100)]
Codegen fixes

3 months agoSupport more syntax
Robert Pengelly [Tue, 23 Jun 2026 08:08:45 +0000 (09:08 +0100)]
Support more syntax

3 months agoAdded __packed
Robert Pengelly [Tue, 23 Jun 2026 07:34:54 +0000 (08:34 +0100)]
Added __packed

3 months agoAdded & support in i386.c
Robert Pengelly [Mon, 22 Jun 2026 18:53:11 +0000 (19:53 +0100)]
Added & support in i386.c

3 months agolong long fixes for i386
Robert Pengelly [Mon, 22 Jun 2026 11:52:22 +0000 (12:52 +0100)]
long long fixes for i386

3 months agoDefault to no leading underscore for -m64 and added -fleading-underscore option
Robert Pengelly [Sat, 20 Jun 2026 18:44:02 +0000 (19:44 +0100)]
Default to no leading underscore for -m64 and added -fleading-underscore option

3 months agoPostfix fixes
Robert Pengelly [Fri, 19 Jun 2026 20:13:49 +0000 (21:13 +0100)]
Postfix fixes

3 months agoMore AMD64 fixes
Robert Pengelly [Fri, 19 Jun 2026 18:41:18 +0000 (19:41 +0100)]
More AMD64 fixes

3 months agoAMD64 fixes
Robert Pengelly [Mon, 15 Jun 2026 13:46:39 +0000 (14:46 +0100)]
AMD64 fixes

3 months agoExperimental AMD64 support
Robert Pengelly [Mon, 15 Jun 2026 08:46:51 +0000 (09:46 +0100)]
Experimental AMD64 support

3 months agoVerify K&R function paremeters
Robert Pengelly [Thu, 11 Jun 2026 12:54:02 +0000 (13:54 +0100)]
Verify K&R function paremeters

3 months ago__dllimport and __dllexport fixes
Robert Pengelly [Wed, 10 Jun 2026 01:41:08 +0000 (02:41 +0100)]
__dllimport and __dllexport fixes

3 months agoCalling convention fixes
Robert Pengelly [Wed, 10 Jun 2026 00:43:37 +0000 (01:43 +0100)]
Calling convention fixes

3 months agoFix for syntax like int __dllimport __stdcall
Robert Pengelly [Tue, 9 Jun 2026 23:44:50 +0000 (00:44 +0100)]
Fix for syntax like int __dllimport __stdcall

3 months agoAdded support for __dllimport
Robert Pengelly [Tue, 9 Jun 2026 12:56:18 +0000 (13:56 +0100)]
Added support for __dllimport

3 months ago__stdcall fixes
Robert Pengelly [Tue, 9 Jun 2026 12:05:51 +0000 (13:05 +0100)]
__stdcall fixes

3 months agoSupport some extensions even with -std=c90 and -pedantic
Robert Pengelly [Mon, 8 Jun 2026 11:10:21 +0000 (12:10 +0100)]
Support some extensions even with -std=c90 and -pedantic

3 months agoAdded __stdcall
Robert Pengelly [Mon, 8 Jun 2026 00:10:56 +0000 (01:10 +0100)]
Added __stdcall

4 months agoFixed loop check
Robert Pengelly [Wed, 3 Jun 2026 14:50:39 +0000 (15:50 +0100)]
Fixed loop check

4 months agoFixed local strings
Robert Pengelly [Wed, 3 Jun 2026 11:53:49 +0000 (12:53 +0100)]
Fixed local strings

4 months agoBetter temp file creation for non WIN32/unix systems
Robert Pengelly [Wed, 3 Jun 2026 11:31:18 +0000 (12:31 +0100)]
Better temp file creation for non WIN32/unix systems

4 months agoRemoved unused variables
Robert Pengelly [Mon, 1 Jun 2026 08:15:54 +0000 (09:15 +0100)]
Removed unused variables

4 months agoFixed bounds check
Robert Pengelly [Mon, 1 Jun 2026 07:55:26 +0000 (08:55 +0100)]
Fixed bounds check

4 months agoFixed race condition
Robert Pengelly [Mon, 1 Jun 2026 06:46:12 +0000 (07:46 +0100)]
Fixed race condition

4 months agoSegmentation fault fix on Linux
Robert Pengelly [Sun, 31 May 2026 16:53:24 +0000 (17:53 +0100)]
Segmentation fault fix on Linux

4 months agoUse / not \
Robert Pengelly [Sun, 31 May 2026 12:29:23 +0000 (13:29 +0100)]
Use / not \

4 months agoNeed temp files cleanup on Linux as well when using mkstemp and fdopen
Robert Pengelly [Sun, 31 May 2026 12:28:09 +0000 (13:28 +0100)]
Need temp files cleanup on Linux as well when using mkstemp and fdopen

4 months agoCleanup temp files on exit
Robert Pengelly [Sun, 31 May 2026 11:59:19 +0000 (12:59 +0100)]
Cleanup temp files on exit

4 months agoDon't forget to check if max_errors is more than zero
Robert Pengelly [Sun, 31 May 2026 11:45:42 +0000 (12:45 +0100)]
Don't forget to check if max_errors is more than zero

4 months agoAdded -fmax-errors
Robert Pengelly [Sun, 31 May 2026 11:44:08 +0000 (12:44 +0100)]
Added -fmax-errors

4 months agoFixed signed vs unsigned and vaarg pushes
Robert Pengelly [Fri, 29 May 2026 09:02:12 +0000 (10:02 +0100)]
Fixed signed vs unsigned and vaarg pushes

4 months agoSight 64-bit optimizations
Robert Pengelly [Thu, 28 May 2026 11:08:32 +0000 (12:08 +0100)]
Sight 64-bit optimizations

4 months agoTruncate fistp
Robert Pengelly [Thu, 28 May 2026 02:14:07 +0000 (03:14 +0100)]
Truncate fistp

4 months agoMore decimal fixes
Robert Pengelly [Wed, 27 May 2026 07:31:59 +0000 (08:31 +0100)]
More decimal fixes

4 months agoMore float/double fixes
Robert Pengelly [Wed, 27 May 2026 05:42:23 +0000 (06:42 +0100)]
More float/double fixes

4 months agoFixed float/double
Robert Pengelly [Wed, 27 May 2026 03:58:08 +0000 (04:58 +0100)]
Fixed float/double

4 months agoTrack temp files and remove them on close
Robert Pengelly [Tue, 26 May 2026 18:46:16 +0000 (19:46 +0100)]
Track temp files and remove them on close

4 months agoUse Windows/Linux temp file creation and use scc_ version as a fallback
Robert Pengelly [Tue, 26 May 2026 07:12:02 +0000 (08:12 +0100)]
Use Windows/Linux temp file creation and use scc_ version as a fallback

4 months agoStack improvements, stop replying of tmpfile and codegen fixes
Robert Pengelly [Tue, 26 May 2026 04:27:43 +0000 (05:27 +0100)]
Stack improvements, stop replying of tmpfile and codegen fixes

4 months agoK&R fixes
Robert Pengelly [Sun, 24 May 2026 11:27:22 +0000 (12:27 +0100)]
K&R fixes

4 months ago64-bit integer fixes
Robert Pengelly [Sun, 24 May 2026 00:29:08 +0000 (01:29 +0100)]
64-bit integer fixes

4 months agoBug and codegen fixes
Robert Pengelly [Sat, 23 May 2026 19:41:05 +0000 (20:41 +0100)]
Bug and codegen fixes

4 months agoFixed wide strings
Robert Pengelly [Sat, 23 May 2026 11:41:49 +0000 (12:41 +0100)]
Fixed wide strings

4 months agoCast char to int and use xrealloc instead of just realloc
Robert Pengelly [Sat, 23 May 2026 09:25:17 +0000 (10:25 +0100)]
Cast char to int and use xrealloc instead of just realloc

4 months agoCodegen fixes
Robert Pengelly [Sat, 23 May 2026 06:22:46 +0000 (07:22 +0100)]
Codegen fixes

4 months agoSplit lines for ml not to choke
Robert Pengelly [Fri, 22 May 2026 14:34:39 +0000 (15:34 +0100)]
Split lines for ml not to choke

4 months agoBug fixes
Robert Pengelly [Fri, 22 May 2026 14:15:29 +0000 (15:15 +0100)]
Bug fixes

4 months agoAdded __dllexport support, a .def file will be created with the function names under...
Robert Pengelly [Fri, 22 May 2026 04:47:57 +0000 (05:47 +0100)]
Added __dllexport support, a .def file will be created with the function names under EXPORTS

4 months ago64-bit fix
Robert Pengelly [Thu, 21 May 2026 21:42:42 +0000 (22:42 +0100)]
64-bit fix