[postgis-devel] Implement "make astyle" patch

Nicklas Avén nicklas.aven at jordogskog.no
Thu Jan 28 06:14:41 PST 2010


well, I have looked a little at this  The thing is that when I tried before I installed astyle properly then all my source-files where wiped empty. So my cunit "crash" was caused by empty c-files. When I checked out and tried agin everything worked as expected. But without astyle installed all source files gets empty. I tried it agian by renaming astyle in astyle.sh to something not existing, then the same happened. Can cause a lot of pain if the last thing that happens before committting everything is erased. /Nicklas
2010-01-28 Nicklas Avén wrote:

>
>
> 2010-01-28 Mark Cave-Ayland wrote:
>
> >Done. Please test everyone :)
>> >Seems to work on MingW, but something has crashed cunit> >astyle:>But I before used the astyle.exe compiled for windows,> but I instead compiled astyle for linux and it worked great :-)> >when I ran astyle before (with the exe-file)  I had a note if the file was modified or not. Would it be possible to catch that note and echo it. > >cunit crash:> >When I try make check it ends with> >make -C liblwgeom/cunit check
> make[1]: Entering directory `/c/utv/src/pg15/liblwgeom/cunit'
> gcc -o cu_tester cu_algorithm.o cu_geodetic.o cu_measures.o cu_libgeom.o cu_tester.o  ../liblwgeom.a -lm -lcunit
> /mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference to `WinMain at 16'
> collect2: ld returned 1 exit status
> make[1]: *** [cu_tester] Error 1
> make[1]: Leaving directory `/c/utv/src/pg15/liblwgeom/cunit'
> make: *** [check] Error 2
>>Haven't looked anything into it.> >/Nicklas> > 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20100128/1fff2ff8/attachment.html>


More information about the postgis-devel mailing list