Skip to content

issues Search Results · repo:rswier/c4 language:C

Filter by

33 results
 (82 ms)

33 results

inrswier/c4 (press backspace or delete to remove)

Hello, This isn t really an issue with c4 itself, but rather with my poor implementation. I m trying to add limited for loop support (just for a very simple case of the form for (i = X; i Y; i++) ) and ...
  • wololoa
  • 2
  • Opened 
    on Jul 16, 2024
  • #80

i want to compile an executable file by c4 itself
  • MaDinnerbone
  • 2
  • Opened 
    on Jul 6, 2024
  • #79

root@localhost:~# gcc -o c4 c4.c c4.c: In function ‘next’: c4.c:56:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 56 | printf( %d: ...
  • l1t1
  • 4
  • Opened 
    on Dec 10, 2023
  • #77

Current compilers may lack friendly error messages when faced with errors. Improved error handling and more specific and readable error messages help developers debug code more easily.
  • 2623656928
  • Opened 
    on Dec 3, 2023
  • #75

I cut my teeth on Small-C eons ago and c4 is an absolute delight and very clever. However, I did think the lvalue trick looked too fragile and indeed, if you generate just the right constant, like 9 or ...
  • tommythorn
  • Opened 
    on Sep 5, 2022
  • #72

In order to make a script useful for a real world I d like to write int main() { int sens1_val; int sens2_val; while(1) { sens1_val = m_sensor.GetDataByValType(1, SENS_VAL_TYPE_TEMP); sens2_val = m_sensor.GetDataByValType(2, ...
  • jenya7
  • 1
  • Opened 
    on Jan 10, 2022
  • #68

After fixing compile error and some warnings, I got 329: duplicate global definition when compiling and interpreting itself. Why did it happen? The modified code is as follows: #include stdio.h #include ...
  • kevintsq
  • 2
  • Opened 
    on Sep 24, 2021
  • #67

int is defined as 32 bit here, not long long, but that is not related to the bug: %c4 -s c4.c 73: while (*p != 0 *p != \n ) ++p; 0xb6d4c2a4 IMM 0xb6d0b008 0xb6d4c2ac LI 0xb6d4c2b0 LC 0xb6d4c2b4 PSH 0xb6d4c2b8 ...
  • HPCguy
  • 3
  • Opened 
    on Mar 20, 2021
  • #65

I got a error when build c4 in macos 10.15 c4.c:333:5: error: first parameter of main (argument count) must be of type int int main(int argc, char **argv) My gcc version gcc -v Configured with: ...
  • yinsongbj
  • 2
  • Opened 
    on Mar 15, 2021
  • #64

I get the error when use the following declaration: int a = 5; but the following code works without errors int a; a = 5;
  • tigertv
  • 1
  • Opened 
    on Jan 9, 2021
  • #63
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub