l...@gnu.org (Ludovic Courtès) writes: > It also makes it possible to provide two versions of the same symbol, > e.g.: > > SCM scm_from_string (const char *) --> GUILE_2.0 > SCM scm_from_string (const char *, scm_t_handler) --> GUILE_2.1 > > Applications that were compiled against libguile 2.0 will keep using the > GUILE_2.0 version of the function, while those compiled against 2.1 will > use the GUILE_2.1 version. > > Technically, defining multiple versions of a given symbol is achieved > using the `.symver' GNU as directive: > > __asm__ (".symver scm_from_string_v2_0,scm_from_str...@guile_2.0"); > __asm__ (".symver scm_from_string,scm_from_str...@guile_2.1");
That sounds very cool. But given that we try to consider non-GNU platforms too, will it really give us more options than we have at present? Regards, Neil