Skip to content

cjs doesnt build (due to mozjs) #446

Description

@andrei3267

it's probablly a mozjs issue

In file included from /opt/mozilla/include/mozjs-140/mozilla/BaseProfileJSONWriter.h:17,
                 from /opt/mozilla/include/mozjs-140/mozilla/BaseProfilerMarkersPrerequisites.h:27,
                 from /opt/mozilla/include/mozjs-140/js/ProfilingStack.h:11,
                 from /opt/mozilla/include/mozjs-140/js/RootingAPI.h:29,
                 from /opt/mozilla/include/mozjs-140/js/ErrorReport.h:35,
                 from ../cjs/jsapi-util.h:23,
                 from ../cjs/cjs_pch.hh:43:
/opt/mozilla/include/mozjs-140/mozilla/UniquePtrExtensions.h:104:6: error: #error "Unsupported OS?"
  104 | #    error "Unsupported OS?"
      |      ^~~~~
In file included from /opt/mozilla/include/mozjs-140/mozilla/BaseProfilerMarkersPrerequisites.h:28:
/opt/mozilla/include/mozjs-140/BaseProfilingCategory.h:15:10: fatal error: ProfilingCategoryList.h: No such file or directory
   15 | #include "ProfilingCategoryList.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions