On Sat, 2010-12-11 at 00:25 +0900, Takeshi Abe wrote:
Hi,
I got a following warning in the build of sw:
---
Compiling: sw/source/filter/ww8/ww8par.cxx
/home/tabe/libo/clone/writer/sw/source/filter/ww8/ww8par.cxx: In member function 'virtual void
Sttb::Print(FILE*)':
/home/tabe/libo/clone/writer/sw/source/filter/ww8/ww8par.cxx:216: warning: format '%x' expects
type 'unsigned int', but argument 3 has type 'sal_uInt32'
---
The attached one just suppresses it.
Yup, good stuff. Pushed this now. Thanks.
FWIW I build with ./autogen.sh --enable-werror which makes all warnings
as errors (except in binfilter and lotuswordpro). But seeing as I'm
under x86_64 the above didn't trigger a warning on 64bit given that
sal_Int32 is defined as int there, while as long on x86.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.