To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51201
                  Issue #:|51201
                  Summary:|automation project: build broken
                Component:|porting
                  Version:|680m112
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|maho





------- Additional comments from [EMAIL PROTECTED] Fri Jun 24 18:45:25 -0700 
2005 -------
for SRC680m112 under Mac OS X Tiger, automation project is broken:

ccache g++-3.3 -fsigned-char -fmessage-length=0 -malign-natural -c -I.  -I. -
I../inc -I../../inc -I../../unx/inc -I../../unxmac
xp.pro/inc -I. -I/Users/maho/Work/work/solver/680/unxmacxp.pro/inc/stl -
I/Users/maho/Work/work/solver/680/unxmacxp.pro/inc/exte
rnal -I/Users/maho/Work/work/solver/680/unxmacxp.pro/inc -
I/Users/maho/Work/work/solenv/unxmacxp/inc -I/Users/maho/Work/work/so
lenv/inc -I/Users/maho/Work/work/res -
I/Users/maho/Work/work/solver/680/unxmacxp.pro/inc/stl -
I/System/Library/Frameworks/JavaV
M.framework/Versions/Current/Headers -
I/System/Library/Frameworks/JavaVM.framework/Headers -I/usr/X11R6/include -
I/usr/X11R6/in
clude/freetype2     -I. -I../../res -I. -O2 -fno-strict-aliasing   -pipe -
malign-natural -fsigned-char -Wno-long-double -Wno-ct
or-dtor-privacy -fno-exceptions   -fPIC -fno-common -DMACOSX -DUNX -DVCL -DGCC -
DC300 -DPOWERPC -DGXX_INCLUDE_PATH=/usr/include
/gcc/darwin/3.3/c++ -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -
D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC -DSTL
PORT_VERSION=400 -D_USE_NAMESPACE=1 -DX_LOCALE -DNO_AUDIO -D__DMAKE -DUNIX -
DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPROD
UCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -
DSRC680  -DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 -
DBUILD_OS_MINOR=4 -DBUILD_OS_REV=1 -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -
o ../../unxmacxp.pro/slo/communi.o /Users/maho/Work/wor
k/automation/source/communi/communi.cxx
In file included from ../../inc/commdefines.hxx:70,
                 from ../../inc/simplecm.hxx:83,
                 from ../../inc/communi.hxx:79,
                 
from /Users/maho/Work/work/automation/source/communi/communi.cxx:87:
../inc/commtypes.hxx:75:31: tools/commtypes.hxx: No such file or directory
In file included from ../../inc/simplecm.hxx:83,
                 from ../../inc/communi.hxx:79,
                 
from /Users/maho/Work/work/automation/source/communi/communi.cxx:87:
../../inc/commdefines.hxx:156: error: syntax error before `;' token
../../inc/commdefines.hxx:163: error: syntax error before `;' token
../../inc/commdefines.hxx:164: error: syntax error before `;' token
In file included from ../../inc/communi.hxx:79,
                 
from /Users/maho/Work/work/automation/source/communi/communi.cxx:87:
../../inc/simplecm.hxx:215: error: type specifier omitted for parameter 
`CMProtocol'
../../inc/simplecm.hxx:215: error: parse error before `=' token
../../inc/simplecm.hxx:253: error: type specifier omitted for parameter 
`CMProtocol'
../../inc/simplecm.hxx:253: error: parse error before `=' token
../../inc/simplecm.hxx:263: error: `HandshakeType' was not declared in this 
scope
../../inc/simplecm.hxx:263: error: parse error before `,' token
../../inc/simplecm.hxx:401: error: `HandshakeType' was not declared in this 
scope
../../inc/simplecm.hxx:401: error: parse error before `,' token
In file included 
from /Users/maho/Work/work/automation/source/communi/communi.cxx:87:
../../inc/communi.hxx:129: error: type specifier omitted for parameter 
`CMProtocol'
../../inc/communi.hxx:129: error: parse error before `=' token
/Users/maho/Work/work/automation/source/communi/communi.cxx:273: error: type 
specifier omitted for parameter `CMProtocol'
/Users/maho/Work/work/automation/source/communi/communi.cxx:273: error: parse 
error before `)' token
/Users/maho/Work/work/automation/source/communi/communi.cxx: In member function 
`virtual BOOL CommunicationLinkViaSocket::DoTra
nsferDataStream(...)':

because, communi.hxx is not found, of couse.

A workaround for this is:
o deliver header files before actually build
this works but not a good solution.
(It works re-build of this project after first builds, and deliver'ed
the header. so cws committer of automation forgot to check header files'
circular dependency)

My proposal:
o Currently relevant include files are automation/inc/ but compared to
other project like animation, location for them should be 
automation/automation/inc.

my proposal is favourable in two points:
o explicitly state include files are for automation project so that
  user can understand easily
o There are two commtypes.hxx in automation project
% find . -name "commtypes.hxx"
./inc/automation/commtypes.hxx
./source/inc/commtypes.hxx
in this project but in my proposal, it does not induce a confusion
since include source/inc/commtpyes.hxx.

moving automation/inc/*.hxx to automation/inc/automation/*hxx can be changed
to automation/inc/tools/*.hxx.

thanks in advance

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to