Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

[linux-port] CA2W and CA2WEX #172

Closed
Closed

Description

@ehsannas

I have implemented a simple CW2A class which is being used by the codebase when compiling on Linux.

We also need CA2W and CA2WEX classes that can fill the void of these Windows functions.

Once these are implemented, the hacks in SemaHLSL.cpp should be removed. usage1 and usage2.

Some MS reference:
https://msdn.microsoft.com/en-us/library/xsyac802.aspx

I suggest taking advantage of standard C++ methods if possible. e.g.

std::wstring ws = std::wstring(s.begin(), s.end());
LPCWSTR wsptr = stemp.c_str();

Activity

  1. pow2clk commented on May 16, 2018

    @pow2clk

    I have a more extensive implementation. I'll put up a pull request of it.

  2. ehsannas commented on May 17, 2018

    @ehsannas
    Author

    Fixed.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions