[Freeswitch-users] mod_cdr_pg_csv

Michael Collins msc at freeswitch.org
Sat Mar 5 03:21:36 MSK 2011


I just did a git pull and compiled it with no problem. Get the latest git
and try again, just to be sure it wasn't already fixed.
-MC

On Fri, Mar 4, 2011 at 3:14 PM, Cliff Wells <cliff at develix.com> wrote:

> Is this module still supported?   I added it to my modules.conf but
> during compilation I get the following:
>
> Compiling
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c
> ...
> cc1: warnings being treated as errors
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:
> In function 'save_cdr':
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:225:
> warning: ISO C90 forbids mixed declarations and code
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:235:
> warning: ISO C90 forbids mixed declarations and code
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:248:
> warning: ISO C90 forbids mixed declarations and code
> /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:275:
> warning: ISO C90 forbids mixed declarations and code
> make[5]: *** [mod_cdr_pg_csv.lo] Error 1
>
> This seems odd since the Makefile includes modmake.rules which has
> -std=c99.   I guess I could disable -pedantic, but I feel I'm starting
> down a road that ends somewhere over my head.
>
> Regards,
> Cliff
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110304/3c3f101b/attachment.html 


More information about the FreeSWITCH-users mailing list