Skip to content

Gated out #include directives in JS libraries are still included #5458

Closed

Description

@juj

liba.js

#if 0
#include "libnonexisting.js"
#include "libb.js"
#endif

libb.js

syntax error here

Command line: emcc tests/hello_world.c --js-library liba.js -o a.html

Should be valid and build without errors, but currently fails with

Error: ENOENT: no such file or directory, open 'C:\code\emsdk\emscripten\incoming\src\libnonexisting.js'

Activity

  1. marcmoo commented on Sep 20, 2018

    @marcmoo

    same issue

  2. stale commented on Sep 20, 2019

    @stale

    This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

  3. sbc100 commented on Sep 20, 2019

    @sbc100
    Collaborator

    Lets see if this is still an issue..

  4. sbc100 commented on Sep 20, 2019

    @sbc100
    Collaborator

    Looks like its fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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