(C++ ) Assertion failed: used->flags & F\MOD\UNIT

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++ ) Assertion failed: used->flags & F_MOD_UNIT

 

Link error.

 

IDE: C++ Builder 6.0

Project type: VCL

 

 

 

 

 

Full error messages

 


Assertion failed: used->flags & F_MOD_UNIT, file C:\src\ilink\unitc.c, line 215

 

 

 

 

 

Cause

 

Removed all #pragma directives from a multi-unit project, then pressed F9 (Run)

 

 

 

 

 

Solution

 

Close All, then reload project.