It means to raise something mechanically, like a flag
There are so many situations where a physical flag is raised to draw attention to a 
problem ... since the mid 19C in a sense similar to what it is used for in 
programming today.