Re: python (was: Re: [Help-gnucap] getting started with gnucap)

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Sun, Feb 11, 2018 at 07:31:13PM +0100, Patrick Mulder wrote:
> gnucap.cc:20:3: 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/Xcode.app/Contents/Developer/usr/bin/make  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.

cheers
felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.