https://bugs.freedesktop.org/show_bug.cgi?id=68790

          Priority: medium
            Bug ID: 68790
          Assignee: [email protected]
           Summary: Other: Build fails on Windows when system locale is
                    "Japanese(Japan)" .
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

Created attachment 84969
  --> https://bugs.freedesktop.org/attachment.cgi?id=84969&action=edit
Full error message

Problem description: 

When building LibreOffice 4.2.0.0.aplha0+(master), build fails in dbaccess
module.

I'm using Windows 7 Ultimate and Visual Studio 2012 Express for Windows
Desktop.

When using "--with-lang=en-US ja" autogen switch, build fails.
When using "--with-lang=ALL" switch, build fails,too.
But when not using "--with-lang=" switch, build succeeds.

Please refer Bug 66395 - Compilation error in Windows with UTF-8 unfriendly
codepage( https://bugs.freedesktop.org/show_bug.cgi?id=66395 )


Steps to reproduce:

1. Open "Control Panel" -> "Regional and Language Options"
2. Select "Administrative" tab
3. Click "Change system locale".
4. Select "Japanese(Japan)" (Japanese version Windows has this value as
default).
5. Click "OK" and restart computer.
6. Start to build libreoffice.

Build will fail with following message.
-----------------------------------------------------------------------
$ /opt/lo/bin/make 
/opt/lo/bin/make -j 8 -rs -f C:/lomas/core/Makefile.gbuild
[build DEP] LNK:Library/idbu.lib
[build ALM] animations
[build ALM] basebmp
[build ALM] basegfx
[build ALM] binaryurp
[build ALM] cli_ure
[build ALM] clucene
[build ALM] comphelper
[build ALM] configmgr
[build RDB] postgresql-sdbc
[build ALM] cppu
[build ALM] cppuhelper
[build CXX] dbaccess/source/ui/dlg/ConnectionHelper.cxx
[build CXX] dbaccess/source/ui/dlg/ConnectionPage.cxx
[build CXX] dbaccess/source/ui/dlg/ConnectionPageSetup.cxx
[build CXX] dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
[build CXX] dbaccess/source/ui/dlg/detailpages.cxx
[build CXX] dbaccess/source/ui/dlg/directsql.cxx
[build CXX] dbaccess/source/ui/dlg/dlgattr.cxx
[build CXX] dbaccess/source/ui/dlg/dlgsave.cxx
[build CXX] dbaccess/source/ui/dlg/dlgsize.cxx
(snip)
Note: including file:  C:\lomas\core\dbaccess\source\ui\inc\commontypes.hxx
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc
: warning C4819: The file contains a character that cannot be represented in
the current code page (932). Save the file in Unicode format to prevent data
loss
Note: including file:
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc
Note: including file:  C:\lomas\core\dbaccess\inc\dbaccess_helpid.hrc
Note: including file:  C:\lomas\core\dbaccess\source\ui\inc\dbu_dlg.hrc
Note: including file:  C:\lomas\core\dbaccess\inc\dbaccess_helpid.hrc
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(159)
: error C2001: newline in constant
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(370)
: warning C4819: The file contains a character that cannot be represented in
the current code page (932). Save the file in Unicode format to prevent data
loss
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(456)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(460)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(461)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(468)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(469)
: error C2001: newline in constant
Note: including file: C:\lomas\core\include\connectivity/CommonTools.hxx
Note: including file: c:\lomas\core\dbaccess\source\ui\dlg\DriverSettings.hxx
Note: including file:  C:\lomas\core\dbaccess\source\inc\dsntypes.hxx
Note: including file:  C:\lomas\core\include\svl/poolitem.hxx
Note: including file: C:\lomas\core\dbaccess\source\ui\inc\dbadmin.hxx
Note: including file:  C:\lomas\core\include\sfx2/tabdlg.hxx
Note: including file:  C:\lomas\core\dbaccess\source\inc\dsntypes.hxx
Note: including file:  c:\lomas\core\dbaccess\source\ui\inc\IItemSetHelper.hxx
Note: including file:   C:\lomas\core\include\sal/types.h
Note: including file:   C:\lomas\core\include\comphelper/uno3.hxx
Note: including file:   C:\lomas\core\dbaccess\source\inc\dsntypes.hxx
Note: including file:  C:\lomas\core\include\comphelper/uno3.hxx
Note: including file: C:\lomas\core\include\comphelper/types.hxx
make[1]: ***
[C:/lomas/core/workdir/wntmsci14/CxxObject/dbaccess/source/ui/dlg/ConnectionPage.o]
Error 2
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc
: warning C4819: The file contains a character that cannot be represented in
the current code page (932). Save the file in Unicode format to prevent data
loss
Note: including file:
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc
Note: including file:  C:\lomas\core\dbaccess\inc\dbaccess_helpid.hrc
Note: including file:  C:\lomas\core\dbaccess\source\ui\inc\dbu_dlg.hrc
Note: including file:  C:\lomas\core\dbaccess\inc\dbaccess_helpid.hrc
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(159)
: error C2001: newline in constant
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(370)
: warning C4819: The file contains a character that cannot be represented in
the current code page (932). Save the file in Unicode format to prevent data
loss
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(456)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(460)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(461)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(468)
: error C2162: expected macro formal parameter
C:\lomas\core\workdir\wntmsci14\SrsTemplatePartTarget\dbaccess\AutoControls.hrc(469)
: error C2001: newline in constant
make[1]: ***
[C:/lomas/core/workdir/wntmsci14/CxxObject/dbaccess/source/ui/dlg/detailpages.o]
Error 2
make: *** [build] Error 2
-----------------------------------------------------------------------

Operating System: Windows (other)
Version: 4.2.0.0.alpha0+ Master

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to