Dunno if I'm arriving too late ;) Anyway:
El 21/05/15 a las 05:49, Matteo Campanelli escribió:
Hi there,
after
 several minutes of compilation I got the following error(s). Any ideas?
[Manual dirty solutions like insert the related #include macros did not
work]
Since you mention that adding the proper #include did not work and this
is a fresh Ubuntu install, I wonder if the package providing string.h is
missing. Check the presence of libc6-dev.
// beginning error message from make
[SOMEPATH]/include/rtl/ustring.hxx:188:27: error: ‘strlen’ was not
declared in this scope
In file included from [SOMEPATH]/include/xmlreader/pad.hxx:27:0,
                 from [SOMEPATH]/include/xmlreader/xmlreader.hxx:35,
                 from [SOMEPATH]/include/vcl/builder.hxx:19,
                 from [SOMEPATH]/include/vcl/dialog.hxx:25,
                 from [SOMEPATH]/editeng/source/editeng/editdbg.cxx:22:
[SOMEPATH]/include/rtl/strbuf.hxx: In instantiation of ‘typename
rtl::internal::ConstCharArrayDetector<T, rtl::OStringBuffer&>::Type
rtl::OStringBuffer::append(T&) [with T = const char [12]; typename
rtl::internal::ConstCharArrayDetector<T, rtl::OStringBuffer&>::Type =
rtl::OStringBuffer&]’:
[SOMEPATH]/editeng/source/editeng/editdbg.cxx:70:41:   required from here
[SOMEPATH]/include/rtl/strbuf.hxx:477:27: error: ‘strlen’ was not
declared in this scope
         assert( strlen( literal ) == internal::ConstCharArrayDetector<
T >::size - 1 );
// end errors
Best,
-- 
Jacobo Aragunde
Software Engineer at Igalia
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.