GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — intl: VS2015: workaround ICU VS2015 failure? · Issue #2279 · nodejs/node

intl: VS2015: workaround ICU VS2015 failure? #2279

New issue
Copy link
New issue
Copy link
Closed
Closed
intl: VS2015: workaround ICU VS2015 failure?#2279
Copy link
Labels
i18n-apiIssues and PRs related to Node.js internationalization support.windowsIssues and PRs related to the Windows platform.

Description

@srl295
srl295
opened on Jul 30, 2015
Issue body actions

ICU (which provides Intl) failed under VS2015 in the same way and for the same reason as openssl in #478. Should we try to workaround?

I already committed a fix to IcuBug:11689, scheduled for release in a couple of months with ICU 56. If we hit this issue earlier, it looks like we could just pull a copy of ufile.c from ICU trunk on top of the downloaded ICU.

Just filing this for reference.

@rvagg @orangemocha

Activity

  1. rvagg commented on Jul 31, 2015

    @rvagg
    rvagg
    on Jul 31, 2015
    Member
    More actions

    argh, 2015 is live now, it'd be a shame to have this as the only blocker.

    is it possible to say something like "to build with VS2015 you must disable icu completely" or is it broken no matter how we look at it?

  2. brendanashworth
    added
    windowsIssues and PRs related to the Windows platform.
    on Jul 31, 2015
  3. srl295 commented on Jul 31, 2015

    @srl295
    srl295
    on Jul 31, 2015
    MemberAuthor
    More actions

    to build with VS2015 you must disable icu completely

    This is true at the moment. Sorry, I missed the scope of this issue before.

  4. orangemocha commented on Jul 31, 2015

    @orangemocha
    orangemocha
    on Jul 31, 2015
    Contributor
    More actions

    Working on a repro. Is the icu lib itself that fails to build or does it fail at link time? We could change the download process to overwrite ufile.c from with a version from trunk (but at that point it would be better to commit it in our repo somewhere), or we could hack-define those missing functions somewhere else either in node or with an additional file for the icu library.

  5. orangemocha commented on Jul 31, 2015

    @orangemocha
    orangemocha
    on Jul 31, 2015
    Contributor
    More actions

    Getting this error:

    ..\..\deps\icu\source\io\ufile.c(70): error C2109: subscript requires array or
    pointer type
    

    ..which is at compile time, so my idea of defining the missing functions somewhere else won't help.

    We should probably hack the build to use a different version of ufile.c then.

  6. srl295 commented on Jul 31, 2015

    @srl295
    srl295
    on Jul 31, 2015
    MemberAuthor
    More actions

    @orangemocha yes, that's the error. The particular function gets treated as "undefined assuming function returning int", and then somehow has a problem subscripting an int.

    I/we/you can snag the ufile.c from basically here and overwrite it in the situation of variables.icu_ver_major < 56 and optionally && MSVC 2015 or just MSVC. I think this ufile.c will work for ICU 54 and 55. And it's already checked in to the 56 stream.

  7. srl295
    added
    tsc-agenda
    on Jul 31, 2015
  8. srl295 commented on Jul 31, 2015

    @srl295
    srl295
    on Jul 31, 2015
    MemberAuthor
    More actions

    @orangemocha thanks for the discussion. I will open a PR here for a workaround.

  9. srl295
    removed
    tsc-agenda
    on Jul 31, 2015
  10. srl295 commented on Jul 31, 2015

    @srl295
    srl295
    on Jul 31, 2015
    MemberAuthor
    More actions

    oops, was looking for the Intl label!

  11. silverwind
    added
    i18n-apiIssues and PRs related to Node.js internationalization support.
    on Aug 10, 2015
  12. srl295
    added a commit that references this issue on Aug 14, 2015

    build: work around VS2015 issue in ICU <56

    4c06515
  13. joaocgreis commented on Aug 14, 2015

    @joaocgreis
    joaocgreis
    on Aug 14, 2015
    Member
    More actions

    Fixed by 4c06515.

  14. joaocgreis
    closed this as completedon Aug 14, 2015
  15. srl295
    added a commit that references this issue on Aug 24, 2015

    build: work around VS2015 issue in ICU <56

    This issue will close once commit 4f24563 is merged into the 'moved' branch.
    4f24563
  16. jBarz
    added a commit that references this issue on Nov 4, 2016

    build: work around VS2015 issue in ICU <56

    This issue will close once commit 476fce2 is merged into the 'moved' branch.
    476fce2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-apiIssues and PRs related to Node.js internationalization support.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.