On Thu, 1 Aug 2013, David Adam wrote:
> The build failure is caused by tparm() taking a char* on Linux/FreeBSD, 
> and a const char* on NetBSD. Should be easy enough to fix.
> 
> It compiles and runs ok for me on NetBSD 6.1 with -fpermissive in 
> CXXFLAGS, though.

I've added this to the issues list on github:
https://github.com/fish-shell/fish-shell/issues/969

David

> On Sat, 27 Jul 2013, William Ross wrote:
> > Build failure on NetBSD 6.0.1
> > Same error in both 2.0.0 release and git version (as of today 27th July
> > 2013) (below is from git version).
> > Tried compiling with the g++ option -fpermissive, and though it compiles it
> > dies on running with a memory fault.
> > 
> > Any advice on how to fix much appreciated.
> > 
> > $ gmake
> > g++ -g -O2 -I/usr/pkg/include/ -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
> > -fno-exceptions -Wall -DLOCALEDIR=\"/usr/local/share/locale\"
> > -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\"
> > -DSYSCONFDIR=L\"/usr/local/etc\" -DBINDIR=L\"/usr/local/bin\"    -c -o
> > function.o function.cpp
> > In file included from function.cpp:25:0:
> > fallback.h:33:0: warning: "__func__" redefined
> > /usr/include/sys/cdefs.h:353:0: note: this is the location of the previous
> > definition
> > g++ -g -O2 -I/usr/pkg/include/ -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
> > -fno-exceptions -Wall -DLOCALEDIR=\"/usr/local/share/locale\"
> > -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\"
> > -DSYSCONFDIR=L\"/usr/local/etc\" -DBINDIR=L\"/usr/local/bin\"    -c -o
> > builtin.o builtin.cpp
> > In file included from builtin.cpp:39:0:
> > fallback.h:33:0: warning: "__func__" redefined
> > /usr/include/sys/cdefs.h:353:0: note: this is the location of the previous
> > definition
> > In file included from builtin.cpp:397:0:
> > builtin_set_color.cpp: In function 'int builtin_set_color(parser_t&,
> > wchar_t**)':
> > builtin_set_color.cpp:195:13: error: invalid conversion from 'const char*'
> > to 'char*'
> > builtin_set_color.cpp:195:13: error:   initializing argument 1 of 'char*
> > tparm_solaris_kludge(char*, ...)'
> > builtin_set_color.cpp:201:13: error: invalid conversion from 'const char*'
> > to 'char*'
> > builtin_set_color.cpp:209:13: error: invalid conversion from 'const char*'
> > to 'char*'
> > builtin_set_color.cpp:209:13: error:   initializing argument 1 of 'char*
> > tparm_solaris_kludge(char*, ...)'
> > builtin_set_color.cpp:218:13: error: invalid conversion from 'const char*'
> > to 'char*'
> > builtin_set_color.cpp:218:13: error:   initializing argument 1 of 'char*
> > tparm_solaris_kludge(char*, ...)'
> > gmake: *** [builtin.o] Error 1
> > 
> 
> Cheers,
> 
> David Adam
> zanc...@ucc.gu.uwa.edu.au
> Ask Me About Our SLA!
> 
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent 
> caught up. So what steps can you take to put your SQL databases under 
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
> 

Cheers,

David Adam
zanc...@ucc.gu.uwa.edu.au
Ask Me About Our SLA!

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to