[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] python (was: Re: [Help-gnucap] getting started with g

From: Felix Salfelder
Subject: Re: [Gnucap-devel] python (was: Re: [Help-gnucap] getting started with gnucap)
Date: Sun, 11 Feb 2018 19:36:03 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Feb 11, 2018 at 07:31:13PM +0100, Patrick Mulder wrote:
> warning: 'tmpnam' is deprecated: This function is provided
> for compatibility reasons only. Due to security concerns inherent in the
>       design of tmpnam(3), it is highly recommended that you use mkstemp(3)
> instead. [-Wdeprecated-declarations]
>   tmpnam(filename);
>   ^
> /usr/include/stdio.h:276:7: note: 'tmpnam' has been explicitly marked
> deprecated here
> char    *tmpnam(char *);

that should be an easy fix. just follow the advice ;)

i don't think it's very urgent, perhaps creating temporary files is not
the right thing to do anyway.

$ make
> /Applications/  all-am
> swig -python -c++ -Wall  gnucap.i
> make[1]: swig: No such file or directory
> make[1]: *** [gnucap_wrap.cxx] Error 1
> make: *** [all] Error 2

swig is that tool that turns the interface description into python
module source code. you need to install that.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]