Skip to content

emcc should read from stdin when no input files given #3800

@smehrbrodt

Description

@smehrbrodt

The following command works with clang:
echo "__clang_major__.__clang_minor__.__clang_patchlevel__" | clang -E -P -

If you try the same with emcc:
echo "__clang_major__.__clang_minor__.__clang_patchlevel__" | emcc -E -P -
you get an error: ERROR root: no input files

emcc should read from stdin when no input files are given.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions