[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Problem with reinterpret_cast

From: Ben Hutchinson
Subject: [Tinycc-devel] Problem with reinterpret_cast
Date: Sun, 10 Jan 2016 00:40:46 -0800

It doesn't work in TCC. It says that it is "undeclared", like it thinks it's a variable being used without being declared. But it's NOT a variable. It's an instruction to the compiler to treat a value of one type as if it were a different type. It's a different type of cast than normal casts, because unlike normal casts, it doesn't actually covert anything. Instead it just tells the compiler to treat the data stored at the referenced location as if it were a different type of data.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]