Search found 4 matches

by empathicqubit
Sat Jan 14, 2023 7:05 am
Forum: Windows
Topic: Building with Visual Studio: Every variable is a const lvalue
Replies: 4
Views: 1879

Re: Building with Visual Studio: Every variable is a const lvalue

Not really. There are a few others which are also -51. I'll try to trace it down.
by empathicqubit
Fri Jan 13, 2023 7:10 pm
Forum: Windows
Topic: Building with Visual Studio: Every variable is a const lvalue
Replies: 4
Views: 1879

Re: Building with Visual Studio: Every variable is a const lvalue

I'm looking at the isconst value in the debugger, and it's set to -51, which seems wrong
by empathicqubit
Fri Jan 13, 2023 6:18 pm
Forum: Windows
Topic: Building with Visual Studio: Every variable is a const lvalue
Replies: 4
Views: 1879

Building with Visual Studio: Every variable is a const lvalue

I'm trying to compile the compiler, and when I try to use it with PATH and ZCCCFG set, I get these errors:

z:\UserProfiles\EmpathicQubit\tyzzy\tests\./main.c:36:50: error: Attempt to modify const lvalue 'i'

This happens even with v2.2 checked out. It does compile with the released version.