After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724967 - Add C11 keywords
Add C11 keywords
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-22 19:28 UTC by oliver.steven
Modified: 2016-09-15 07:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add C11 keywords (9.07 KB, patch)
2014-02-22 19:28 UTC, oliver.steven
committed Details | Review

Description oliver.steven 2014-02-22 19:28:27 UTC
Add C11 keywords to codegen.
Comment 1 oliver.steven 2014-02-22 19:28:59 UTC
Created attachment 270005 [details] [review]
Add C11 keywords
Comment 2 Kyrylo V. Polezhaiev 2014-04-30 10:24:30 UTC
Yeap, we need to add this keywords.
This program will not cause valac to show any errors:

int main(string [] args)
{
	int _Alignas = 0;
	return _Alignas;
}

But gcc with default settings will fail to compile translated program.