Compiling a C program with g++ 4.3.1 yields an error about std::FILE

Christopher Creutzig ccr at sciface.com
Mon Aug 11 10:24:04 CEST 2008


Torbjorn Granlund wrote:

> In C, underscore-prefixed identifiera are "reserved for the
> implementation", and since GMP implements something, I have decided
> that __GMP and __gmp are OK to use.  :-)

 Sorry, no. Paragraph 3.12 defines what the C standard means by
“implementation,” and GMP is not covered by that. Essentially,
“implementation” means “compiler and standard libraries.”

-- 
SciFace Software GmbH & Co. KG
    Technologiepark 11    Tel: ++49 (0)5251 1843000
    D-33100 Paderborn     Fax: ++49 (0)5251 1843010
    Deutschland           Web: www.sciface.com
Sitz der Gesellschaft: Paderborn
    Registergericht Paderborn HRA 2080
    Ust.-ID Nr.: DE 187992139
Persönlich haftende Gesellschaft:
    SciFace Software Verwaltungsgesellschaft mbH
    Registergericht Paderborn HRB 2924
    Geschäftsführer: Dr. Oliver Kluge


More information about the gmp-bugs mailing list