[Libreoffice] [Patch] build breaks in svx

Markus Mohrhard markus.mohrhard at googlemail.com
Sat May 21 18:08:41 PDT 2011


No I think you're right. I run into the same problem.

But it seems that Caolan accidentally inserted two debug messages. The
following patch removes them.

I don't think that constructor and destructor should always write to stderr,
but I'm a bit confused that no tinderbox failed.

Regards,
Markus

2011/5/20 Matúš Kukan <matus.kukan at gmail.com>

> Hi Caolan,
>
> I tried to build libreoffice but got error in svx.
>
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx: In constructor
> ‘SvxShapeGroup::SvxShapeGroup(SdrObject*, SvxDrawPage*)’:
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx:104: error:
> ‘stderr’ was not declared in this scope
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx:104: error:
> ‘fprintf’ was not declared in this scope
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx: In destructor
> ‘virtual SvxShapeGroup::~SvxShapeGroup()’:
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx:110: error:
> ‘stderr’ was not declared in this scope
> /home/ubuntu/git/gsoc/svx/source/unodraw/unoshap2.cxx:110: error:
> ‘fprintf’ was not declared in this scope
>
> I think there is just library needed.
> Maybe I could fix it but I don't know what's convention for including
> and if I am right.
>
> I am sorry if I am wrong and it's not your mistake.
>
> All the best,
>
> Matus
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110522/6bf9f120/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-remove-build-breaking-debug-messages.patch
Type: application/octet-stream
Size: 1144 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110522/6bf9f120/attachment.obj>


More information about the LibreOffice mailing list