[postgis-devel] Can we stop using .c prefix for SQL files ?

Paragon Corporation lr at pcorp.us
Fri Oct 12 04:08:15 PDT 2012


 

> >I think I've changed the Makefile to use an SQLPP command which 
> >should resolve to proper CPP now (no more GCC -E) which in turn 
> >should not care about the file extension.
> >
> >Maybe the easier would be for me to just commit the change and see 
> >what happens, unless our bots have a way to be configured for 
> >building an experimental git branch, do they ?
> >Or Robe: are you willing to add this feature ?
> >
> >--strk;

I was willing but everyone said don't bother right now.

> 
> The .c extension was to make it clear that the file includes C 
> pre-processor directives which caught me out several times - I don't 
> believe that any versions of gcc broke because of the extension.
> 
> The problem is that the use of the C pre-processor itself is the bug 
> (for example this doesn't work on platforms that don't have a suitable 
> pre-processor, e.g. MSVC). If you're working on this, then I'd 
> recommend throwing it away and finding a better cross-platform 
> solution instead (perhaps creating a mini pre-processor written in
> perl?) as it's already a build requirement for our supported 
> platforms.

> Why don't we drop support for MSVC as a whole instead ?
Technically we don't have MSVC support yet



> Doesn't Winnie The Booht builds with the "minimal GNU for windows" ?
Correct MingW64 chain for both the 64 and 32-bit builds


--strk; 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 

_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel





More information about the postgis-devel mailing list