Skip to content

C89/C90 standard (and variants) treated as unknown #365

Closed
@firewave

Description

@firewave
$ ./simplecpp -std=c89 test.cpp

test.cpp:1: dui error: unknown standard specified: 'c89'

The problem is that these standards have no value for __STDC_VERSION__ so simplecpp::getCStdString() returns an empty string which therefore treats it as unknown in simplecpp::preprocess().

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy