Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define wchar_t according to __WCHAR_TYPE__ #1431

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

niranjanyardi
Copy link
Contributor

@niranjanyardi niranjanyardi commented Aug 28, 2023

b/298211986
b/246854012

Windows platform modular builds don't work with the current definition of wchar_t for c files.

Setting wchar_t according to the predefined C macro WCHAR_TYPE ensures that wchar_t is defined correctly.

Error shows up here: b/246854012#comment41 and was discussed in go/lbreview/260401

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #1431 (ebd374d) into main (95649c5) will decrease coverage by 0.02%.
Report is 57 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1431      +/-   ##
==========================================
- Coverage   56.38%   56.37%   -0.02%     
==========================================
  Files        1902     1902              
  Lines       94566    94597      +31     
==========================================
+ Hits        53322    53328       +6     
- Misses      41244    41269      +25     

see 12 files with indirect coverage changes

b/246854012

Windows platform modular builds don't work with the current definition
of wchar_t.

Setting wchar_t according to the predefined C macro __WCHAR_TYPE__
ensures that wchar_t is defined correctly.

Change-Id: I30eee6687820b19a1f18ef217b71b2c214cff98d
@niranjanyardi niranjanyardi merged commit 474b3db into youtube:main Aug 31, 2023
352 of 353 checks passed
@niranjanyardi niranjanyardi added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Aug 31, 2023
cobalt-github-releaser-bot pushed a commit that referenced this pull request Aug 31, 2023
b/298211986
b/246854012

Windows platform modular builds don't work with the current definition
of wchar_t for c files.

Setting wchar_t according to the predefined C macro __WCHAR_TYPE__
ensures that wchar_t is defined correctly.

Error shows up here: b/246854012#comment41 and was discussed in
go/lbreview/260401

(cherry picked from commit 474b3db)
niranjanyardi added a commit that referenced this pull request Sep 20, 2023
b/298211986
b/246854012

Windows platform modular builds don't work with the current definition
of wchar_t for c files.

Setting wchar_t according to the predefined C macro __WCHAR_TYPE__
ensures that wchar_t is defined correctly.

Error shows up here: b/246854012#comment41 and was discussed in
go/lbreview/260401

(cherry picked from commit 474b3db)
niranjanyardi added a commit that referenced this pull request Sep 20, 2023
Refer to the original PR: #1431

b/298211986
b/246854012

Windows platform modular builds don't work with the current definition
of wchar_t for c files.

Setting wchar_t according to the predefined C macro __WCHAR_TYPE__
ensures that wchar_t is defined correctly.

Error shows up here: b/246854012#comment41 and was discussed in
go/lbreview/260401

Co-authored-by: Niranjan Yardi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants