Hi all,

When I compile DEV300_m29 with dmake, I get the following *warning*:

/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:268:
warning: lowering visibility of 'sal_Bool
com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const
C&) [with C = bool]' to match its type

Is that safe to ignore the warning?
I am just curious  because the template Any seems to be used quite
office, and the warning looks annoying.

My environment:
Cent OS 5, g++ 4.1.2,

cd config_office
export JAVA_HOME=/usr/local/jdk1.6.0_07/
export PATH=$PATH:/usr/local/jdk1.6.0_07/bin

export CLASSPATH=$CLASSPATH:/usr/local/junit4.5/junit-4.5.jar

export ANT_HOME=/usr/local/ant
export PATH=$PATH:$ANT_HOME/bin

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/

./configure --prefix=$HOME \
                --disable-cups \
                --disable-pam \
                --with-jdk-home=/usr/local/jdk1.6.0_07/ \
                --disable-mozilla \
                --disable-qadevooo \
                --without-system-stdlibs \
                --disable-odk \
                --with-use-shell=bash \
                --with-vendor="Vietnamese Localization Build" \
                --with-lang=vi \
                --without-java \
                --disable-vba

sleep 3
cd ..
./bootstrap
sleep 3
source LinuxX86Env.Set.sh
rehash

export SOLENV=`pwd`/solenv/
./solenv/unxlngi6/bin/dmake


Full warning:
Making: ../../../unxlngi6.pro/slo/unoidx.obj
g++  -fmessage-length=0 -c -Os -fno-strict-aliasing
-fvisibility=hidden -I.  -I../../../unxlngi6.pro/inc/unocore -I../inc
-I../../../inc/pch -I../../../inc -I../../../unx/inc
-I../../../unxlngi6.pro/inc -I.
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/external
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/unxlngi6/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/res
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc/Xp31
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux
-INO_JAVA_HOME/include/native_threads/include -I/usr/include
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/offuh
-I. -I../../../res -I. -pipe -mtune=pentiumpro
-fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow
-Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX
-DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
-DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DCUI   -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION
-DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs
-DEXCEPTIONS_ON  -o ../../../unxlngi6.pro/slo/unoidx.o
/home/vuhung/public_html/foss/src/DEV300_m29/sw/source/core/unocore/unoidx.cxx
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Type.h:459:
warning: lowering visibility of 'const com::sun::star::uno::Type&
getCppuType() [with T = short unsigned int]' to match its type
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.h:277:
warning: lowering visibility of 'com::sun::star::uno::Any
com::sun::star::uno::makeAny(const C&) [with C = bool]' to match its
type
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.h:337:
warning: lowering visibility of 'sal_Bool
com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, C&)
[with C = bool]' to match its type
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.h:340:
warning: lowering visibility of 'sal_Bool
com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const
C&) [with C = bool]' to match its type
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:
In function 'sal_Bool com::sun::star::uno::operator==(const
com::sun::star::uno::Any&, const C&) [with C = bool]':
/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:268:
warning: lowering visibility of 'sal_Bool
com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const
C&) [with C = bool]' to match its type

-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/

Reply via email to