mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Modify pgrminclude to include all code, even in #if blocks. Process
.h include files before .c files. Mark some includes as needed to be ignored by pgrminclude.
This commit is contained in:
		
							parent
							
								
									c6e9da17a1
								
							
						
					
					
						commit
						f8e41abd8a
					
				| @ -70,6 +70,8 @@ do | |||||||
| 		fi | 		fi | ||||||
| 		echo "}" >>/tmp/$$.c | 		echo "}" >>/tmp/$$.c | ||||||
| 
 | 
 | ||||||
|  | 		# Use -O1 to get warnings only generated by optimization, | ||||||
|  | 		# but -O2 is too slow. | ||||||
| 		cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \ | 		cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \ | ||||||
| 			-Wmissing-declarations -I/pg/include -I/pg/backend \ | 			-Wmissing-declarations -I/pg/include -I/pg/backend \ | ||||||
| 			-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \ | 			-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user