qutorial / zplusplus

Projectional C++
Eclipse Public License 1.0
6 stars 2 forks source link

cannot declare an array using sizeof #16

Open eugenschindler opened 9 years ago

eugenschindler commented 9 years ago

trying to declare the following in the "this keyword" TS tests: int16[sizeof(*this)]

This gives an error: Error: must be statically evaluatable

eugenschindler commented 9 years ago

Posted a bug at the mbeddr issuetracker. Bug number at mbeddr site is is: #1136