[Libreoffice-commits] .: idlc/source
idlc/source/parser.y |1 - 1 file changed, 1 deletion(-) New commits: commit f8569cd9a28a3a8856dba4ad53218aa6cc073521 Author: Stephan Bergmann Date: Wed Jan 30 13:52:03 2013 +0100 UNO constants cannot be of CHAR type Change-Id: I13f2f1d38b99a5eb1d10f40c524894e37a47f7e2 diff --git a/idlc/source/parser.y b/idlc/source/parser.y index 629c2f2..3da099c 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -1508,7 +1508,6 @@ positive_int_expr : const_type : integer_type - | char_type | byte_type | boolean_type | floating_pt_type ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: idlc/source
idlc/source/idlcproduce.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit f728eda90912ee0e2072e422dcf7eb6589d24497 Author: LuboÅ¡ LuÅák Date: Sun Dec 2 16:15:22 2012 +0100 unlink() doesn't work that well with URLs Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx index 3fd04b6..93dc8ba 100644 --- a/idlc/source/idlcproduce.cxx +++ b/idlc/source/idlcproduce.cxx @@ -120,7 +120,7 @@ static sal_Bool cleanPath() void removeIfExists(const OString& pathname) { -unlink(pathname.getStr()); +osl::File::remove(OStringToOUString(pathname, RTL_TEXTENCODING_UTF8)); } sal_Int32 SAL_CALL ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: idlc/source
idlc/source/idlc.cxx |2 ++ 1 file changed, 2 insertions(+) New commits: commit 39c3a4d6644ae78783aa8877557e4c021cba7973 Author: Michael Stahl Date: Wed Sep 5 15:01:25 2012 +0200 idlc: clear include file set in Idlc::reset(): Resetting the set between files reduces the size of the generated offapi.d from 41M to 4.5M. Change-Id: I221e6dfb75cbadb5d970f18eccfc85ffdb83ce6c diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx index cd427c5..a064e7b 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -270,6 +270,8 @@ void Idlc::reset() // push the root node on the stack m_pScopes->push(m_pRoot); initializePredefinedTypes(m_pRoot); + +m_includes.clear(); } sal_Bool Idlc::isDocValid() ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: idlc/source
idlc/source/idlccompile.cxx |1 - 1 file changed, 1 deletion(-) New commits: commit 7c10706845e3b2924152c831b35a458078dc274f Author: Michael Stahl Date: Fri Jul 20 19:27:44 2012 +0200 idlc: do not use -I., deps need absolute paths (regression from 63c508e3e86a140e35161c45d2be97779746f6cb) Change-Id: I03ae2cf6fdb229e26d33ef4611a1495590f90df7 diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index 5e3d689..68cf263 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -244,7 +244,6 @@ sal_Int32 compileFile(const OString * pathname) lCppArgs.push_back("-DIDL"); lCppArgs.push_back("-C"); lCppArgs.push_back("-zI"); -lCppArgs.push_back("-I."); OStringBuffer cppArgs(256); Options* pOptions = idlc()->getOptions(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: idlc/source
idlc/source/parser.y |2 ++ 1 file changed, 2 insertions(+) New commits: commit 34513fe619aee112b11a0a90dc2e981dccdb408e Author: Christian Lohmaier Date: Sun May 6 21:00:11 2012 +0200 WaE: avoid build break on Mac PPC/XCode 2.5 otherwise breaks with /usr/share/bison.simple: In function ´int yyparse()´: /usr/share/bison.simple:614: warning: comparison between signed and unsigned integer expressions /usr/share/bison.simple:626: warning: comparison between signed and unsigned integer expressions diff --git a/idlc/source/parser.y b/idlc/source/parser.y index acaf5c1..79c9ac4 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -106,7 +106,9 @@ #define YYDEBUG 1 +#if !(defined MACOSX && defined PPC) #define YYERROR_VERBOSE 1 +#endif using ::rtl::OUString; using ::rtl::OString; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: idlc/source
idlc/source/scanner.l |2 ++ 1 file changed, 2 insertions(+) New commits: commit 6f1a96249014c6144c638cfcf38db3e910f6a6bc Author: David Ostrovsky Date: Fri May 4 20:46:58 2012 +0200 disable GCC diagnostic #pragma on older GCC versions Change-Id: Ib0c1ec649b4e391359ef41cebad501b297579557 diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l index 8675f26..6847ba4 100644 --- a/idlc/source/scanner.l +++ b/idlc/source/scanner.l @@ -257,8 +257,10 @@ static void parseLineAndFile(sal_Char* pBuf) // Suppress any warnings from generated code: #if defined __GNUC__ +#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" +#endif #elif defined __SUNPRO_CC #pragma disable_warn #elif defined _MSC_VER ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits