Re: aoo 4.2 - build error while building module connectivity

2016-04-02 Thread Oliver Brinzing



> 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)'

changed source file  "main\connectivity\inc\connectivity\sqlparse.hxx" line 133

from: struct OSQLParser_Data;

to: struct OSQLParser_Data {
OSQLParser_Data() {};
~OSQLParser_Data() {};
};

and it seems to build ...

Oliver


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



aoo 4.2 - build error while building module connectivity

2016-04-02 Thread Oliver Brinzing

Hi,

build startet, but i got a build error after about 2 hours.
i used same build setting as i did for aoo412 build.

any hints?
Oliver


=
Building module connectivity
=

Entering /cygdrive/c/build_tmp/aoo_src/main/connectivity/inc


Entering /cygdrive/c/build_tmp/aoo_src/main/connectivity/source/resource


Entering /cygdrive/c/build_tmp/aoo_src/main/connectivity/source/parse

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

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
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'

1 module(s):
connectivity
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/cygdrive/c/build_tmp/aoo_src/main/connectivity/source/parse

When you have fixed the errors in that module you can resume the build by 
running:

build --from connectivity

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org