StylePoolImpl::createIterator function does not take 0 arguments

2018-03-30 Thread himajin100000
It seems that .hpp(and .hdl included from .hpp) for the RectanglePoint was created from .idl/.rdb by cppumaker that runs based on the .mk file, and the resulting files will be stored under C:\build\workdir\UnoApiHeadersTarget\offapi\comprehensive\

Re: StylePoolImpl::createIterator function does not take 0 arguments

2018-03-30 Thread Tor Lillqvist
> Note that instead of a SAL_WARN as you have, I output the undefined value > as a number. That is more useful. > > ... because if somebody would happen to notice a warning "Unknown RectanglePoint Value", what would their first reaction be? Exactly, "Infuriating, why can't it then show *what* the

Re: StylePoolImpl::createIterator function does not take 0 arguments

2018-03-30 Thread Tor Lillqvist
> OUString RectanglePointToOUString(const css::drawing::RectanglePoint& rp){ > if(rp == css::drawing::RectanglePoint::LEFT_TOP) > return OUString::createFromAscii("LEFT_TOP"); > ... > SAL_WARN("sd","Unknown RectanglePoint Value"); > return OUString::createFromAscii(""); > } > >

Re: StylePoolImpl::createIterator function does not take 0 arguments

2018-03-29 Thread himajin100000
Hi, I decided to try to fix the errors in the macros I have just commented out or deleted so far, and most of them seemed successful.However one of the errors start causing headaches on me(C++ newbie too), so the patches is to be submitted later than I expected, neither this evening nor tonight.

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread himajin100000
> Where did you find the info that suggested these are necessary? If > it's some wiki page, it would be good to fix it. nowhere. I just read man thing-y for the command, and for some options, I searched google, and for some other options, I read the configure.ac and so on just to fill my

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Tor Lillqvist
> > --with-junit=... > --with-ant-home=... > Unless you specifically plan to work on something Java-related, I would recommend just using --without-java, and then you don't need any junit or ant switches, and there is a significantly larger chance your build will succeed. --tml

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Kaganski Mike
On 3/29/2018 3:45 PM, Miklos Vajna wrote: > The following switches are not necessary for a first debug build: > > - --disable-ccache It is advised for Windows actually (which uses pch). Unless it's off by default for Windows, it's better be used. -- Best regards, Mike Kaganski

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Miklos Vajna
Hi, On Thu, Mar 29, 2018 at 05:32:00PM +0900, himajin10 wrote: > SO THE COMMAND I USED WAS: > > /cygdrive/c/sources/libo-core/autogen.sh --enable-64-bit > --enable-sal-log --enable-dbgutil --enable-selective-debuginfo="sw/ sc/ > vcl/ sax/ svx/" --with-lang="ja"

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread himajin100000
> How exactly do you do your builds As is often the case with newbies to a certain domain, people are often afraid that they could have missed anything, and want to get relaxed with full-feature option, and that's what happened to me, as a newbie to OSS development. I spent several hours

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Tor Lillqvist
> I am one of those who would like to remove the debug levels, but lately > (spending far too much time in the internal UNO workings), I am a little > afraid that we have a lot of bit rotten code waiting to become a problem. > So doing this change in a branch would be wise. > > Here I am of a

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Jan Iversen
> > As it happens, in LibreOffice code, "#ifdef DEBUG" is 1:1 equivalent to "#if > (OSL_DEBUG_LEVEL >= 2)", and the thought was that perhaps all instances of > "#ifdef DEBUG" should be changed to that instead, to make it more clear that > it is a rather rare way to build, that code inside

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Tor Lillqvist
Funny this '#ifdef DEBUG' was brought up now, it happened to be discussed on IRC yesterday. As it happens, in LibreOffice code, "#ifdef DEBUG" is 1:1 equivalent to "#if (OSL_DEBUG_LEVEL >= 2)", and the thought was that perhaps all instances of "#ifdef DEBUG" should be changed to that instead, to

Re: 'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-29 Thread Stephan Bergmann
ulĂ­ kindly requested me to post these build issues to dev mailing-list, not to bugzilla. C:/sources/libo-core/svl/source/items/stylepool.cxx(410): error C2660: 'StylePoolImpl::createIterator': function does not take 0 arguments That code is inside a rather unusual #ifdef DEBUG block. According

'StylePoolImpl::createIterator': function does not take 0 arguments

2018-03-28 Thread himajin100000
ild issues to dev mailing-list, not to bugzilla. C:/sources/libo-core/svl/source/items/stylepool.cxx(410): error C2660: 'StylePoolImpl::createIterator': function does not take 0 arguments on trying to write a patch for this issue, I also found that variable declaration for mnCount(only used in DE