question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xplat: examine _WIN64, should it be _M_X64?

See original GitHub issue

e.g. CallInfo.h, is following “unused” patch applicable to xplat x64?

        CallInfo(CallFlags flags, ushort count)
            : Flags(flags)
            , Count(count)
#ifdef _WIN64
            , unused(0)
#endif
        {
        }

        // Assumes big-endian layout
        // If the size of the count is changed, change should happen at following places also
        //  - scriptdirect.idl
        //  - LowererMDArch::LoadInputParamCount
        //
        unsigned  Count : 24;
        CallFlags Flags : 8;
#ifdef _WIN64
        unsigned unused : 32;
#endif

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jianchuncommented, Jun 23, 2016

I don’t like _M_X64 of _M_X64_OR_ARM64 as these are specific CPUs is the defines are just about 64 targets. BIT64 is better but not that descriptive. How about TARGET64 or HOST64?

+1 TARGET64

0reactions
jianchuncommented, Sep 29, 2016

We now have TARGET_64. But lots of code (including new code) still uses _WIN64. Needs to search for all and evaluate which should change to TARGET_64.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MX64 Installation Guide - Cisco Meraki
This document describes how to install and set up the MX64 security appliance. ... All Meraki MX devices must have an IP address....
Read more >
Determining 32 vs 64 bit in C++ - Stack Overflow
Simple check 3/3: Robust compile time checking. The general rule is "every #define must end in a #else which generates an error". #if...
Read more >
Cisco Meraki EP 01 - MX64 Security Appliance - Basic Setup
We are going to do the Basic Setup so the MX 64 can connect... ... This will help my channel, so thank you...
Read more >
Cisco Meraki MX64/65/67/68 and Z1/3 - Basic Setup (Connect ...
You will find a comprehensive training from basic configuration to automate deployments and maintenance. Every video will bring you one step ...
Read more >
Cisco Meraki MX64 | Insight
No, this security appliance does not have Wi-Fi capabilities, but the MX64W and other MX series models do. How many devices can Meraki...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found