You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/04/10 13:58:57 UTC

[Issue 126917] New: windows build breaks in module connectivity/source/parse/sqliterator.cxx

https://bz.apache.org/ooo/show_bug.cgi?id=126917

          Issue ID: 126917
        Issue Type: DEFECT
           Summary: windows build breaks in module
                    connectivity/source/parse/sqliterator.cxx
           Product: Build Tools
           Version: 4.2.0-dev
          Hardware: PC
                OS: Windows 7
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: dmake
          Assignee: issues@openoffice.apache.org
          Reporter: oliver.brinzing@gmx.de

really dont' know why  this happens, cause same "configure" will build aoo412
without any problems
and i cannot find relevant code changes between aoo412 and 420 source code.

to make it compile, i changed:
C:\build_tmp\aoo_src\main\connectivity\inc\connectivity\sqlparse.hxx line 154
from:  ::std::auto_ptr< OSQLParser_Data >  m_pData;
to:     ::std::tr1::shared_ptr< OSQLParser_Data >  m_pData;
(unique_ptr is not available)

autoconf
./configure \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--with-vendor="AOO Debug Build" \
--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
\
--with-ant-home="/cygdrive/c/build/ant" \
--with-mozilla-build="/cygdrive/c/build/mozilla-build" \
--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \
--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \
--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC"
 \
--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
9.0/Common7/IDE" \
--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
9.0/VC/bin" \
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0"  \
--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \
--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK
(June 2010)" \
--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \
--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \
--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \
--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \
--enable-pch \
--with-package-format="installed msi" \
--enable-win-x64-shellext \
--enable-category-b \
--enable-bundled-dictionaries \
--with-lang="de" \
--without-stlport \
--without-junit \
--enable-verbose \
--disable-odk \
--without-fonts \
--disable-online-update \
--disable-strip-solver \
--enable-symbols \
--enable-dbgutil \
--enable-crashdump \
--enable-debug

Compiling: connectivity/source/parse/sqliterator.cxx
C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe  -Zm500 -Zc:wchar_t- -GR -GS -c -nologo
-Gs  -Ob1 -Zi -Fd../../wntmsci12/misc/sqliterator.pdb  -Od -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I. -I../../wntmsci12/misc
-I../../wntmsci12/inc/sql -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc
-I../../wntmsci12/inc -I.
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/stl
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/external
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc
-IC:/build_tmp/aoo_src/main/solenv/wntmsci12/inc
-IC:/build_tmp/aoo_src/main/solenv/inc -IC:/build_tmp/aoo_src/main/res
-IC:/build_tmp/aoo_src/main/tools/inc
-IC:/build_tmp/aoo_src/main/comphelper/inc
-IC:/PROGRA~2/Java/JDK17~1.0/include/win32 -IC:/PROGRA~2/Java/JDK17~1.0/include
-IC:/PROGRA~1/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include
-IC:/PROGRA~2/MICROS~1/include -IC:/PROGRA~2/MICROS~1/include 
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/offuh -I. -I../../res -I.
-Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275    
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626    
-wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619    
-wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005    
-wd4180   -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_STLP_DEBUG -D_X86_=1
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -D_MT
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci
-DSUPD=420 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA  
-DOOO_DLLIMPLEMENTATION_DBTOOLS -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL
-DWIN32 -D_MT -D_DLL  -EHa -DEXCEPTIONS_ON 
-Fo../../wntmsci12/slo/sqliterator.obj
C:/build_tmp/aoo_src/main/connectivity/source/parse/sqliterator.cxx 
: &&    
PATH=/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin${PATH:+:${PATH}}
C:/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/makedepend
@C:/build/cygwin/tmp/mkSGhCsk > ../../wntmsci12/misc/s_sqliterator.dpcc
Compiling: connectivity/source/parse/sqlnode.cxx
C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe  -Zm500 -Zc:wchar_t- -GR -GS -c -nologo
-Gs  -Ob1 -Zi -Fd../../wntmsci12/misc/sqlnode.pdb  -Od -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I. -I../../wntmsci12/misc
-I../../wntmsci12/inc/sql -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc
-I../../wntmsci12/inc -I.
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/stl
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/external
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc
-IC:/build_tmp/aoo_src/main/solenv/wntmsci12/inc
-IC:/build_tmp/aoo_src/main/solenv/inc -IC:/build_tmp/aoo_src/main/res
-IC:/build_tmp/aoo_src/main/tools/inc
-IC:/build_tmp/aoo_src/main/comphelper/inc
-IC:/PROGRA~2/Java/JDK17~1.0/include/win32 -IC:/PROGRA~2/Java/JDK17~1.0/include
-IC:/PROGRA~1/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include
-IC:/PROGRA~2/MICROS~1/include -IC:/PROGRA~2/MICROS~1/include 
-IC:/build_tmp/aoo_src/main/solver/420/wntmsci12/inc/offuh -I. -I../../res -I.
-Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275    
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626    
-wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619    
-wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005    
-wd4180   -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_STLP_DEBUG -D_X86_=1
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -D_MT
-DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci
-DSUPD=420 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA  
-DOOO_DLLIMPLEMENTATION_DBTOOLS -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL
-DWIN32 -D_MT -D_DLL  -EHa -DEXCEPTIONS_ON  -Fo../../wntmsci12/slo/sqlnode.obj
C:/build_tmp/aoo_src/main/connectivity/source/parse/sqlnode.cxx 
: &&    
PATH=/cygdrive/c/build_tmp/aoo_src/main/solver/420/wntmsci12/bin${PATH:+:${PATH}}
C:/build_tmp/aoo_src/main/solver/420/wntmsci12/bin/makedepend
@C:/build/cygwin/tmp/mkgGcfWC > ../../wntmsci12/misc/s_sqlnode.dpcc
cl : Command line warning D9025 : overriding '/Zi' with '/Z7'
cl : Command line warning D9035 : option 'Yd' has been deprecated and will be
removed in a future release
sqliterator.cxx
cl : Command line warning D9025 : overriding '/Zi' with '/Z7'
cl : Command line warning D9035 : option 'Yd' has been deprecated and will be
removed in a future release
sqlnode.cxx
C:\PROGRA~2\MICROS~1.0\VC\include\memory(721) : error C4150: deletion of
pointer to incomplete type 'connectivity::OSQLParser_Data'; no destructor
called
       
C:\build_tmp\aoo_src\main\connectivity\inc\connectivity/sqlparse.hxx(133) : see
declaration of 'connectivity::OSQLParser_Data'
        C:\PROGRA~2\MICROS~1.0\VC\include\memory(720) : while compiling class
template member function 'std::auto_ptr<_Ty>::~auto_ptr(void)'
        with
        [
            _Ty=connectivity::OSQLParser_Data
        ]
       
C:\build_tmp\aoo_src\main\connectivity\inc\connectivity/sqlparse.hxx(157) : see
reference to class template instantiation 'std::auto_ptr<_Ty>' being compiled
        with
        [
            _Ty=connectivity::OSQLParser_Data
        ]
dmake:  Error code 2, while making '../../wntmsci12/slo/sqliterator.obj'

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126917] windows build breaks in module connectivity/source/parse/sqliterator.cxx

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126917

--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"damjan" committed SVN revision 1747439 into trunk:
#i126917# windows build breaks in module
connectivity/source/parse/sqliterato...

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126917] windows build breaks in module connectivity/source/parse/sqliterator.cxx

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126917

--- Comment #4 from SVN Robot <sv...@dev.null.org> ---
"damjan" committed SVN revision 1747442 into trunk:
#i126917# windows build breaks in module
connectivity/source/parse/sqliterato...

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126917] windows build breaks in module connectivity/source/parse/sqliterator.cxx

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126917

damjan@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
             Latest|---                         |4.2.0-dev
    Confirmation in|                            |
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.2.0
                 CC|                            |damjan@apache.org

--- Comment #3 from damjan@apache.org ---
Patches committed, resolving fixed. Thank you for your bug report!

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126917] windows build breaks in module connectivity/source/parse/sqliterator.cxx

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126917

Oliver Brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #5 from Oliver Brinzing <ol...@gmx.de> ---
i can no longer confirm this issue with svn revision 1747860

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126917] windows build breaks in module connectivity/source/parse/sqliterator.cxx

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126917

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"damjan" committed SVN revision 1747440 into trunk:
#i126917# windows build breaks in module
connectivity/source/parse/sqliterato...

-- 
You are receiving this mail because:
You are the assignee for the issue.