StackOverflow Questions for Tag: flexible-array-member

Marek P
Marek P

Reputation: 11

What's the JNA mapping for 'unsigned char data[1]'?

Score: 1

Views: 15

Answers: 1

Read More
Quantasm
Quantasm

Reputation: 13

Error: non-static initialization of a flexible array member in Some Cases but Not Others

Score: 1

Views: 60

Answers: 2

Read More
Lionel
Lionel

Reputation:

Is using flexible array members in C bad practice?

Score: 92

Views: 79930

Answers: 7

Read More
Paul J. Lucas
Paul J. Lucas

Reputation: 7133

Treat array as if it were a flexible array member? Undefined behavior?

Score: 4

Views: 123

Answers: 2

Read More
return true
return true

Reputation: 7916

Using array literal in macro

Score: 0

Views: 114

Answers: 3

Read More
Dmytro Ovdiienko
Dmytro Ovdiienko

Reputation: 1106

Calculate the size of the non-standard-layout structure with open array

Score: 0

Views: 108

Answers: 2

Read More
tohaz
tohaz

Reputation: 197

Flexible array as a class member

Score: 5

Views: 5536

Answers: 2

Read More
ptan9o
ptan9o

Reputation: 304

Why can't I get around 'error: flexible array member' with fixed size union?

Score: 1

Views: 71

Answers: 0

Read More
Yubikiri773
Yubikiri773

Reputation: 63

How to resolve the "unknown array size in delete" error when using a class with a flexible array member (FAM) and a non-trivial destructor?

Score: 0

Views: 171

Answers: 1

Read More
EthanLee
EthanLee

Reputation: 39

Why is the dst pointer changed when using memcpy function for flexible array in struct of this case?

Score: 0

Views: 106

Answers: 1

Read More
testing09
testing09

Reputation: 155

Why can't I reassign flexible array member?

Score: 0

Views: 66

Answers: 2

Read More
Anonymous
Anonymous

Reputation: 649

Initialize nested variable array members

Score: 1

Views: 115

Answers: 1

Read More
q0987
q0987

Reputation: 35982

sizeof(char[]) in a struct member with no size specified

Score: 0

Views: 102

Answers: 0

Read More
Timmmm
Timmmm

Reputation: 96586

What is the size of a struct with a flexible array member?

Score: 6

Views: 1728

Answers: 1

Read More
SKi
SKi

Reputation: 8466

Does a flexible array member increase sizeof a struct?

Score: 18

Views: 5678

Answers: 2

Read More
deltakid0
deltakid0

Reputation: 1

Why does GMP use a pointer at the end of struct instead of zero sized array or Flexible Array Member?

Score: 0

Views: 107

Answers: 0

Read More
BobDeTunis
BobDeTunis

Reputation: 165

How to correctly use flexible array member?

Score: 2

Views: 255

Answers: 2

Read More
g3t0r
g3t0r

Reputation: 13

Allocate array of structs with flexible array member, each member of the same isze

Score: 1

Views: 86

Answers: 2

Read More
Alexis Wilke
Alexis Wilke

Reputation: 20731

How do you avoid flexible array errors when you want to extend a structure with another in C/C++?

Score: 2

Views: 152

Answers: 0

Read More
MSN
MSN

Reputation: 54604

Are flexible array members valid in C++?

Score: 65

Views: 48024

Answers: 10

Read More
PreviousPage 1Next