P
Pawel
Hallo group members
Could You tell hw to write this code in order not to get warning from subject:
#include <iostream>
using namespace std;
using namespace __gnu_cxx;
struct entry {
union {
int a;
};
union {
int b;
};
};
static struct entry en[] = { { 12, 13 } };
int main() {
(void)en;
};
I compile it on linux with following command:
g++ -Wall -g -O0 -o /tmp/p2 p2.cpp
regards,
Pawel
Could You tell hw to write this code in order not to get warning from subject:
#include <iostream>
using namespace std;
using namespace __gnu_cxx;
struct entry {
union {
int a;
};
union {
int b;
};
};
static struct entry en[] = { { 12, 13 } };
int main() {
(void)en;
};
I compile it on linux with following command:
g++ -Wall -g -O0 -o /tmp/p2 p2.cpp
regards,
Pawel