[Freeswitch-users] module question
Chris Mandra
mandra at gmail.com
Thu Mar 10 19:32:23 MSK 2016
I'll let you know what I find with the fpermissive flag removed. Is there
anything special I need to do if I'm if I'm writing module in C++, for
instance do I need to explicitly use swig or something? Is there a set of
predefined variables and directives or best practices that I should be
following for this?
Thanks,
Chris
On Thursday, March 10, 2016, Piotr Gregor <piotrek.gregor at gmail.com> wrote:
> Hi Chris,
> -fpermissive flag might hide some nasty errors. It is described as:
> "Downgrade some diagnostics about nonconformant code from errors to
> warnings. Thus, using -fpermissive allows some nonconforming code to
> compile."
> Will your module compile without -fpermissive flag?
>
> cheers,
> Piotr
>
>
> On 10 March 2016 at 12:43, Chris Mandra <mandra at gmail.com
> <javascript:_e(%7B%7D,'cvml','mandra at gmail.com');>> wrote:
>
>> Hi Piotr, here you go:
>>
>> g++ -v
>>
>> Using built-in specs.
>>
>> COLLECT_GCC=g++
>>
>> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
>>
>> Target: x86_64-linux-gnu
>>
>> Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10'
>> --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
>> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
>> --program-suffix=-4.9 --enable-shared --enable-linker-build-id
>> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
>> --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls
>> --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
>> --enable-libstdcxx-time=yes --enable-gnu-unique-object
>> --disable-vtable-verify --enable-plugin --with-system-zlib
>> --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
>> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
>> --enable-java-home
>> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
>> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
>> --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
>> --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
>> --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
>> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
>> --target=x86_64-linux-gnu
>>
>> Thread model: posix
>>
>> gcc version 4.9.2 (Debian 4.9.2-10)
>>
>> On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor <piotrek.gregor at gmail.com
>> <javascript:_e(%7B%7D,'cvml','piotrek.gregor at gmail.com');>> wrote:
>>
>>> Chris,
>>> could you show us the output of
>>> g++ -v
>>> please?
>>>
>>> cheers,
>>> Piotr
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','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
>>>
>>
>>
>>
>> --
>> mandra
>> c:410.258.5281
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','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
>>
>
>
>
> --
> Piotr Gregor
>
>
> -----------------------------------------------------------------------------
> mobile: 00447503707797
>
> ------------------------------------------------------------------------------
>
--
mandra
c:410.258.5281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160310/58a6ce0d/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list