[poppler] pdftohtml build problems

Albert Astals Cid aacid at kde.org
Tue Apr 18 12:12:30 PDT 2006


A Dilluns 17 Abril 2006 23:48, Reece Dunn va escriure:
> Albert Astals Cid wrote:
> > A Dilluns 17 Abril 2006 22:53, Reece Dunn va escriure:
> > > Albert Astals Cid wrote:
> > > > > The r and c on the src2 variable are the other way around, so the
> > > > > two +/- instances are written as scr2.
> > > >
> > > > Ok, that's a typo, but that will cause unexpected behaviour?
> > >
> > > Well, since the argument name is misspelt, it will actually give a
> > > compile error. What I get with msvc 8.0 is:
> > >
> > > HtmlOutputDev.cc
> > > goo\GooVector.h(25) : error C2143: syntax error : missing ')' before
> > > 'constant' goo\GooVector.h(91) : see reference to class template
> > > instantiation 'Goo Vector<T>' being compiled
> > > goo\GooVector.h(25) : error C2143: syntax error : missing ';' before
> > > 'constant' goo\GooVector.h(25) : error C2059: syntax error : ')'
> > > goo\GooVector.h(25) : error C2334: unexpected token(s) preceding '{';
> > > skipping a pparent function body
> >
> > I really can not see how's that a problem, i mean, ALL ocurrences of
> > parameter are scr2, i don't see how changing them to src2 makes it any
> > better. one could have named it foobariscool and it will work too, right?
>
> You would be right, which is why it is working for GCC. However, msvc
> appears to be defining scr2 as a macro constant. Hence the error above.

Ahhhhhhhh, commited the change.

Albert

>
> Performing the scr2 -> src2 translation makes it build with msvc.
>
> - Reece
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/____________
>___________________________________ poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


More information about the poppler mailing list