On 28.08.2011 23:14, Eike Rathke wrote:
Hi Michael,
On Sunday, 2011-08-28 22:30:44 +0200, Michael Stahl wrote:
Compiling: Forms.idl
../../../../com/sun/star/ucb/Content.idl(296) : Illegal syntax following
service member declaration: syntax error, unexpected IDL_IDENTIFIER
i have had the exact same problem trying to build OOO340m1 on my Fedora
box. for now i've just worked around the problem by removing the big
100s-line comment in Content.idl, then invoking "build" in offapi, then
putting the comment back.
Well, that's an attempt worth to be tried :-)
strangely it only happens when building files
that include Content.idl, not with Content.idl itself.
Indeed.
guess it's some bug in idlc, or perhaps a compiler bug (gcc 4.6.0 here).
gcc 4.6.1 here, but building LibreOffice no problem, though compiler
options are probably different, Content.idl is nearly identical except
header guards removed (hmm.. I could try that) and corrected typos in
the documentation comments (does idlc now bail out on those if file was
included? ;-)
I have gcc 4.5.2 on Ubuntu and the problem doesn't appear. So at least a
compiler bug is possible.
Regards,
Mathias