Added copyright notice
This commit is contained in:
parent
fb8a01915e
commit
bfa9030c10
14 changed files with 225 additions and 6 deletions
|
@ -1,4 +1,35 @@
|
|||
// Copyright (C) 2023 Jordon Brooks
|
||||
// Copyright (c) 2024 Jordon Brooks
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
/**
|
||||
* IMPORTANT REMINDER:
|
||||
* Do NOT use standard output functions like std::cout and printf anywhere in this codebase.
|
||||
*
|
||||
* Reason:
|
||||
* Unreal Engine 5's packaging tool encounters issues with these functions, leading to
|
||||
* packaging failures. The engine sets stdout to UTF-8, which can cause conflicts with
|
||||
* these standard functions, resulting in a "SECURE CRT: Invalid parameter detected" error
|
||||
* during packaging.
|
||||
*
|
||||
* This issue once required an extensive debugging effort that lasted over 8 hours.
|
||||
* To prevent similar issues in the future and ensure smooth packaging, always use
|
||||
* wide-character versions of these functions, such as wprintf and std::wcout, when working
|
||||
* within the DLL. These functions are compatible with the UTF-8 setting in Unreal Engine 5.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue