http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647
Bug #: 56647
Summary: use return value of malloc() as initializer
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Prio
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647
--- Comment #2 from shia 2013-03-18 05:54:54
UTC ---
I think maybe only this one is right:
r.c:4:1: error: initializer element is not constant
the other part may cause little confused.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56647
shia changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946
Bug #: 56946
Summary: assignment expression work wired
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: minor
Priorit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946
--- Comment #1 from shia 2013-04-13 12:16:47
UTC ---
Created attachment 29865
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29865
.i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946
--- Comment #3 from shia 2013-04-13 14:13:08
UTC ---
(In reply to comment #2)
> You need to add -lm to your command line.
gcc -lm -Wall assignment.c
This is right?But it can't compile neither