diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2014-02-17 12:09:55 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2014-02-17 12:09:55 +0000 |
commit | 7f79fd034fac7ddcf2eb31d4c2187f2aa8ab2796 (patch) | |
tree | f2d7697eb9d6ff3f4f5382712609b054a9735bb0 /ACE/ace/Process.cpp | |
parent | 0e085d32aeba0ec515efc768dee9406008b433ed (diff) | |
download | ATCD-7f79fd034fac7ddcf2eb31d4c2187f2aa8ab2796.tar.gz |
Mon Feb 17 12:10:59 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Process.cpp:
Only use pragma GCC when using the gcc compiler
Diffstat (limited to 'ACE/ace/Process.cpp')
-rw-r--r-- | ACE/ace/Process.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/Process.cpp b/ACE/ace/Process.cpp index 7da199ba59f..58fc7749d7f 100644 --- a/ACE/ace/Process.cpp +++ b/ACE/ace/Process.cpp @@ -116,13 +116,17 @@ ACE_Process::spawn (ACE_Process_Options &options) #if defined (ACE_WIN32) # if defined (ACE_WIN64) // silence warnings coming from MinGW64 compilers +# if defined (__GNUC__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat" # pragma GCC diagnostic ignored "-Wformat-extra-args" +# endif /* __GNUC__ */ curr_len += ACE_OS::sprintf (&cmd_line_buf[curr_len], ACE_TEXT (" +H %I64p"), h); +# if defined (__GNUC__) # pragma GCC diagnostic pop +# endif /* __GNUC__ */ # else curr_len += ACE_OS::sprintf (&cmd_line_buf[curr_len], ACE_TEXT (" +H %p"), |