Forum Discussion
Altera_Forum
Honored Contributor
16 years agogcc alignment
I'm surprised. I have a C++ code that fills a char array and there seems to be an alignment problem with g++. See below: char* response = new char;
response = 0;
unsigned int* dataSize = (uns...
Altera_Forum
Honored Contributor
16 years agoDear Donq
"response" is not just an array of chars, is a buffer that I send using TCP, and I want to fill it with data according to defined in protocol (integers, floating points, bytes and strings must be "embedded" in the array). Thanks