*: suppress ~60% of "aliased warnings" on gcc-4.4.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -95,7 +95,7 @@ struct globals {
|
||||
struct fd_pair logpipe;
|
||||
char *dir;
|
||||
struct svdir svd[2];
|
||||
};
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define haslog (G.haslog )
|
||||
#define sigterm (G.sigterm )
|
||||
|
@@ -58,7 +58,7 @@ struct globals {
|
||||
struct pollfd pfd[1];
|
||||
unsigned stamplog;
|
||||
#endif
|
||||
};
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define sv (G.sv )
|
||||
#define svdir (G.svdir )
|
||||
|
@@ -165,7 +165,7 @@ struct globals {
|
||||
/* "Bernstein" time format: unix + 0x400000000000000aULL */
|
||||
uint64_t tstart, tnow;
|
||||
svstatus_t svstatus;
|
||||
};
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define acts (G.acts )
|
||||
#define service (G.service )
|
||||
|
@@ -184,7 +184,7 @@ struct globals {
|
||||
|
||||
sigset_t blocked_sigset;
|
||||
};
|
||||
#define G (*(struct globals*)ptr_to_globals)
|
||||
#define G (*ptr_to_globals)
|
||||
#define dir (G.dir )
|
||||
#define verbose (G.verbose )
|
||||
#define linemax (G.linemax )
|
||||
|
Reference in New Issue
Block a user