[Openvas-devel] [openvas-Bugs][6316] compile-time errors in gsd 1.2.1 whne compiling for Fedora 17
noreply at wald.intevation.org
noreply at wald.intevation.org
Tue Mar 27 02:00:37 CEST 2012
Bugs item #6316, was opened at 2012-03-27 00:00 by Michal Ambroz
You can respond by visiting:
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6316&group_id=29
Status: Open
Priority: 3
Submitted By: Michal Ambroz (rebus)
Assigned to: Nobody (None)
Summary: compile-time errors in gsd 1.2.1 whne compiling for Fedora 17
Architecture: 64 Bit
Product: OpenVAS
Operating System: Linux
Component: gsa-desktop
Version: None
Severity: normal
Resolution: None
Hardware: None
URL:
Initial Comment:
Description of the problem:
Compilation of gsd-1.2.1 on Fedora 17 throws following error:
make[2]: *** [src/CMakeFiles/gsd.dir/dock_details.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_details.h:51:0,
from /home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_reports.h:36,
from /home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_reports.cpp:24:
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/omp_utilities.h:90:17: error: 'typedef int omp_utilities::omp_entity_command' conflicts with a previous declaration
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/omp_utilities.h:79:10: note: previous declaration 'enum omp_utilities::omp_entity_command'
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/omp_utilities.h:100:17: error: 'typedef int omp_utilities::omp_task_command' conflicts with a previous declaration
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/omp_utilities.h:92:10: note: previous declaration 'enum omp_utilities::omp_task_command'
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_reports.cpp: In member function 'void dock_reports::update(QString)':
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_reports.cpp:97:14: warning: converting 'false' to pointer type 'bool*' [-Wconversion-null]
/home/mambroz/rpmbuild/BUILD/gsd-1.2.1/src/dock_reports.cpp:99:8: warning: converting 'false' to pointer type 'bool*' [-Wconversion-null]
make[2]: *** [src/CMakeFiles/gsd.dir/dock_reports.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/gsd.dir/all] Error 2
This is caused by having in omp_utilities.h definition of enumeration type and then the very same type defined as int.
Versions:
qt-4.8.0-8.fc17.x86_64
gcc-c++-4.7.0-1.fc17.x86_64
Attached is proposed patch to fix these compile-time errors.
Best regards
Michal Ambroz
----------------------------------------------------------------------
You can respond by visiting:
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6316&group_id=29
More information about the Openvas-devel
mailing list