Usage of unassigned global variable & Global variable never used the same time

Users who are viewing this thread

It tells me this:

Code:
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_data
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_data
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_data
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage
WARNING: Usage of unassigned global variable: $gpu_storage

However, it tells me this below:

Code:
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_data
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_data
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_data
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
WARNING: Global variable never used: $gpu_storage
 
Solution
as long it works for you it's fine. the GPU has alot scripts, maybe some are not used in TPE.

to remove the warnings:
(assign, "$gpu_storage",0),
(assign, "$gpu_data",0),
at game start script
I was basically trying to integrate TPE (Tournament Play Enhancements) into my mod. It requires me to add GPU (General Presentation Utilities or something alike), and when compiling, this happens.
 
Upvote 0
as long it works for you it's fine. the GPU has alot scripts, maybe some are not used in TPE.

to remove the warnings:
(assign, "$gpu_storage",0),
(assign, "$gpu_data",0),
at game start script
 
Upvote 1
Solution
Back
Top Bottom