"export" keyword is used as a method name

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

 



Hi,

When "export" is used as a method name in a class (see example below),
 I compiled it using SunStudio C++ compiler with "-compat" option.

I wonder can g++ compile it and which option to use ?

Example:

class A {
    void export();
};
int main () { return 0; }


Thanks.
Michael


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux