This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

wrong doc on version script


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]