Jeroen Demeyer on Tue, 29 Sep 2015 12:07:48 +0200

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

concat() symbol collision

Hello pari devs,

libPARI exports the function concat(). This is a dangerous name, since other libraries might also use this function name. William Stein reported a segfault in Sage which could be traced back to this:


It turns out that also exports a function called concat().

So I think we should rename concat -> pari_concat (or some other name). If you worry about backwards compatibility, you can always

#define concat pari_concat