wrong doc on version script

Lucas De Marchi lucas.demarchi@profusion.mobi
Tue Aug 24 23:25:00 GMT 2010


info says that the right syntax for version scripts is:

[...]
     VERS_2.0 {
                 bar1; bar2;
         extern "C++" {
                 ns::*;
                 "int f(int, double)";
              }
     } VERS_1.2;

This does not work. Either it's missing a ";" after  `extern "C++" {
... }' or the parser is wrong. Changing the above script to the
following, it does work as expected.

     VERS_2.0 {
                 bar1; bar2;
         extern "C++" {
                 ns::*;
                 "int f(int, double)";
              };
     } VERS_1.2;



Lucas De Marchi



More information about the Binutils mailing list