Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Code::Blocks, Scintilla and Fedora

<< < (9/9)

oBFusCATed:

--- Quote from: Biplab on November 09, 2010, 03:37:26 am ---M$VC not being standard compliant can ignore such code. :)

--- End quote ---
You're wrong here :)

This warning is specific to GCC, here is an explanation: http://www.mail-archive.com/gcc@gcc.gnu.org/msg47795.html

Biplab:

--- Quote from: MortenMacFly on November 09, 2010, 09:30:27 am ---
--- Quote from: Biplab on November 09, 2010, 03:37:26 am ---
--- Code: ---struct foo f = { {0}, 0};
--- End code ---

--- End quote ---
That sounds reasonable to me. If that removes the error and is standard compliant we can go for it. However, we would still have these portions in the code patched than... ;-)

--- End quote ---

Agreed. :)



--- Quote from: oBFusCATed on November 09, 2010, 09:51:44 am ---
--- Quote from: Biplab on November 09, 2010, 03:37:26 am ---M$VC not being standard compliant can ignore such code. :)

--- End quote ---
You're wrong here :)

This warning is specific to GCC, here is an explanation: http://www.mail-archive.com/gcc@gcc.gnu.org/msg47795.html


--- End quote ---

I can't go through the link at the moment. But if I understand clause 8.5.1.8 of N1905-05-0165 correctly draft standard shows how it should be initialized.

I agree that I am not be correct in saying M$VC compiler is not standard compliant when the standard is a draft one. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version