Skip to content
Commit 80292609 authored by Jakob Stierhof's avatar Jakob Stierhof Committed by Jörn Wilms
Browse files

Replace Undefine_Type comparison with __is_initialized test

This will take some time probably. New slang version effectively
treats all undefined variables as errors. Yes, this renders the
Undefine_Type absolutely useless... So, variables can be declared
and not initialized, but as soon as the are used things will go
south. The proper way to test this is

__is_initialized(&potentiall_undefined_variable);

Yes, it takes a pointer. Fix here for optimal binning.

Oh, and, yes, this is a run time error. That means they will only
show up once in use...
parent 6a928335
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment