Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add /LTCG option#3035

Open
hwangsihu wants to merge 1 commit intomaster from
ltcg
Open

Add /LTCG option #3035
hwangsihu wants to merge 1 commit intomaster from
ltcg

Conversation

@hwangsihu
Copy link
Contributor

@hwangsihu hwangsihu commented Dec 6, 2025

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@hwangsihu hwangsihu force-pushed the ltcg branch 2 times, most recently from 449be62 to 9a021a1 Compare December 8, 2025 00:23
Copy link
Contributor

bear101 commented Dec 10, 2025

What exactly is the benefit of this change? When I look at the size of TeamTalk5.dll on main branch and ltcg branch then it's exactly the same.

Copy link
Contributor Author

What exactly is the benefit of this change? When I look at the size of TeamTalk5.dll on main branch and ltcg branch then it's exactly the same.

Sorry, I just checked.
When compiling most files, you'll see a warning message saying that using the /ltcg option will improve linker performance.
This is in response to the warning.

Copy link
Contributor

bear101 commented Dec 14, 2025

Looking at the build times I don't see any improvements in build time compared to master branch

Copy link
Contributor Author

But wouldn't it be nice if we could get rid of the warning message?

Copy link
Contributor

bear101 commented Dec 17, 2025

By default VS2022 sets Link Time Code Generation to nothing (blank) for Debug and /LTCG:incremental for Release builds on DLL projects.

Copy link
Contributor Author

hwangsihu commented Jan 11, 2026
edited
Loading

@bear101 Ah, Did you mean to change /LTCG to /LTCG:incremental?

@hwangsihu hwangsihu changed the title (削除) Add /LTCG option (削除ここまで) (追記) Add /LTCG:incremental option (追記ここまで) Jan 11, 2026
@hwangsihu hwangsihu force-pushed the ltcg branch 2 times, most recently from 6701360 to ad4f698 Compare January 15, 2026 13:24
@hwangsihu hwangsihu force-pushed the ltcg branch 2 times, most recently from bb136f6 to 4195046 Compare February 1, 2026 11:41
@hwangsihu hwangsihu changed the title (削除) Add /LTCG:incremental option (削除ここまで) (追記) Add /LTCG option (追記ここまで) Feb 1, 2026
Copy link
Contributor Author

Incremental LTCG is not working.

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

Reviewers

@bear101 bear101 bear101 requested changes

Copilot code review Copilot Copilot left review comments

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /