On my schematic I know the trick to place pfw_flag to stop the ERC errors, but when I put the pwr_flag on the ground pin I get a error on the LM311 pin 1.
Conflict problem between pins. Severity: error
Pin1 (power output) of component is connected to pin 1 (Open emmiter) of U1
open emitter might not be the correct pin type in this case. Open emitter is meant for systems where the emitter (or source) is connected to the inside but the collector (or drain) is connected to a fixed potential. In the intended case connecting that pin directly to a supply line would not be a good idea as it would create the possibility of a short.
In this case both pin 7 and pin 1 might be best as passive.
If the symbol came from the official lib please report it as an issue over on github. (Assuming you are at least on version 5 and have the version 5 library installed)