SpiceQA
Questions
Tags
Users
Badges
compound-literals
17 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why does Clang complain an "initializer element is not a compile-time constant" for a local compound literal?
user_17665807
0
•
asked Jun 10, 2022
3
1
77
compound-literals
clang
macros
c
warning: initialization of 'int *' from ' int' makes pointer from integer without a cast, when assigning array to a int pointer
user_14276207
0
•
asked Mar 13, 2022
2
1
337
compound-literals
pointers
initialization
c
arrays
Compound literals in C: do they create duplicate copies?
user_2732907
0
•
asked Jan 12, 2022
2
2
107
compound-literals
c99
struct
optimization
c
initialization of ‘char’ from ‘char *’ makes integer from pointer without a cast
user_2583581
0
•
asked Oct 12, 2021
1
1
516
compound-literals
initialization
struct
c
arrays
Compound literal is created once for a given scope
user_8990329
0
•
asked Sep 6, 2021
4
1
95
compound-literals
undefined-behavior
language-lawyer
c
How can I pass a struct compound literal to a function as argument?
Admin
1
•
asked Mar 27, 2021
6
1
232
compound-literals
c
Why is an explicit cast necessary in the following struct definition
user_651174
0
•
asked Mar 10, 2021
6
5
90
compound-literals
literals
initialization
struct
c
What are the advantages of using "{}" for casting in C Language?
user_10635113
0
•
asked Mar 6, 2021
4
2
183
compound-literals
function-call
literals
c
c++
Difference between two struct initializations
user_651174
0
•
asked Jan 6, 2021
2
1
62
compound-literals
initialization
struct
c
Return compound literal
user_10152015
0
•
asked Dec 10, 2020
2
1
112
compound-literals
storage-duration
undefined-behavior
standards
c
1
(current)
2
Next
Next
Hot Questions