Change professional compiler erroring to #error
So professional. `#error` is the correct directive here and is supported by the major compilers.
This commit is contained in:
		
							parent
							
								
									71bac5414e
								
							
						
					
					
						commit
						88472706e6
					
				@ -52,7 +52,6 @@ QString get_hdid()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//throwing compile-time errors professionally
 | 
					#error This operating system is unsupported for hardware functions.
 | 
				
			||||||
fhasdfuifhidfhasjkfasdkfahsdj
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user