Compile issue for gcc version <= 4.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
High
|
Brian Aker |
Bug Description
CXX libgearman/
cc1plus: warning: command line option "-Wbad-
cc1plus: warning: command line option "-Wdeclaration-
cc1plus: warning: command line option "-Wmissing-
cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wold-
cc1plus: warning: command line option "-Woverride-init" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-
'
'
'
'
'
'
'
'
'
libgearman/
libgearman/
libgearman/
make[1]: *** [libgearman/
make[1]: Leaving directory `/home/
make: *** [all] Error 2
Configured with:
./configure \
--with-
--build=
--host=
--target=
--prefix=/usr \
summary: |
- Compile On CentOS 6.3 has broken since 0.35 + Compile issue for gcc version <= 4.4 |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |
What version of gcc?
On Aug 21, 2012, at 9:45 AM, Jack Engineer <email address hidden> wrote:
> Public bug reported: libgearman_ libgearman_ la-actions. lo function- cast" is valid for C/ObjC but not for C++ after-statement " is valid for C/ObjC but not for C++ prototypes" is valid for Ada/C/ObjC but not for C++ style-definitio n" is valid for Ada/C/ObjC but not for C++ prototypes" is valid for Ada/C/ObjC but not for C++ error.cc: 111: error: #pragma GCC diagnostic not allowed inside functions error.cc: 112: error: #pragma GCC diagnostic not allowed inside functions error.cc: 114: error: #pragma GCC diagnostic not allowed inside functions libgearman_ libgearman_ la-error. lo] Error 1 user/build/ gearmand- 0.36' config- file-path= /etc \ x86_64- redhat- linux-gnu \ x86_64- redhat- linux-gnu \ x86_64- redhat- linux-gnu \ /bugs.launchpad .net/bugs/ 1039629 libgearman_ libgearman_ la-actions. lo function- cast" is valid for C/ObjC but not for C++ after-statement " is valid for C/ObjC but not for C++ prototypes" is valid for Ada/C/ObjC but not for C++ style-definitio n" is valid for Ada/C/ObjC but not for C++ prototypes" is valid for Ada/C/ObjC but not for C++ error.cc: 111: error: #pragma GCC diagnostic not allowed inside functions error.cc: 112: error: #pragma GCC diagnostic not allowed inside functions error.cc: 114: error: #pragma GCC diagnostic not allowed inside functions libgearman_ libgearman_ la-error. lo] Error 1 user/build/ gearmand- 0.36' config- file-path= /etc \...
>
> CXX libgearman/
> cc1plus: warning: command line option "-Wbad-
> cc1plus: warning: command line option "-Wdeclaration-
> cc1plus: warning: command line option "-Wmissing-
> cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wold-
> cc1plus: warning: command line option "-Woverride-init" is valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wstrict-
> '
> '
> '
> '
> '
> '
> '
> '
> '
> libgearman/
> libgearman/
> libgearman/
> make[1]: *** [libgearman/
> make[1]: Leaving directory `/home/
> make: *** [all] Error 2
>
>
> Configured with:
> ./configure \
> --with-
> --build=
> --host=
> --target=
> --prefix=/usr \
>
> ** Affects: gearmand
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Gearman.
> https:/
>
> Title:
> Compile On CentOS 6.3 has broken since 0.35
>
> Status in Gearman Server and Client Libraries:
> New
>
> Bug description:
> CXX libgearman/
> cc1plus: warning: command line option "-Wbad-
> cc1plus: warning: command line option "-Wdeclaration-
> cc1plus: warning: command line option "-Wmissing-
> cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wold-
> cc1plus: warning: command line option "-Woverride-init" is valid for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wstrict-
> '
> '
> '
> '
> '
> '
> '
> '
> '
> libgearman/
> libgearman/
> libgearman/
> make[1]: *** [libgearman/
> make[1]: Leaving directory `/home/
> make: *** [all] Error 2
>
>
>
> Configured with:
> ./configure \
> --with-