HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: Function Prototype checking on HP-UX 11.31 IA6...
 
Operating System - HP-UX
        1840133
        Members
    
    
        2006
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-21-2008 02:13 PM
09-21-2008 02:13 PM
			
				
					
						
							Function Prototype checking on HP-UX 11.31 IA64
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I am porting a complete system from PA-RISC to an IA64 platform using the HP Ansi C compiler. Is there an option to the compiler to report functions that have not been prototyped. The +w option produces this as a remark, but also with a load of other remarks about structure padding. Really the missing prototype would be presented as an warning, There is a similar option available with GCC, but can not find any similar option with the ANSI-C compiler.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Tags:
 - prototype
 
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-22-2008 12:29 AM
09-22-2008 12:29 AM
			
				
					
						
							Re: Function Prototype checking on HP-UX 11.31 IA64
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Turn on +w and find out the message numbers.
Then use +We#### to make it a fatal error.
Use +Ww#### to make it a warning.
What version to you have? The latest is A.06.20.
		
		
	
	
	
Then use +We#### to make it a fatal error.
Use +Ww#### to make it a warning.
What version to you have? The latest is A.06.20.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-22-2008 04:13 AM
09-22-2008 04:13 AM
			
				
					
						
							Re: Function Prototype checking on HP-UX 11.31 IA64
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks that works a real treat. 
I have
B9007AA C.11.31.03 HP C/aC++ Developer's Bundle installed
and that has
cc: HP C/aC++ B3910B A.06.15 [May 16 2007] within it.
Should I be updating the compiler?
		
		
	
	
	
I have
B9007AA C.11.31.03 HP C/aC++ Developer's Bundle installed
and that has
cc: HP C/aC++ B3910B A.06.15 [May 16 2007] within it.
Should I be updating the compiler?
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-22-2008 10:38 AM
09-22-2008 10:38 AM
			
				
					
						
							Re: Function Prototype checking on HP-UX 11.31 IA64
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						>Should I be updating the compiler?
You can patch up to A.06.17, PHSS_37950. If you have a support contract, you can get A.06.20, shortly.
		
		
	
	
	
You can patch up to A.06.17, PHSS_37950. If you have a support contract, you can get A.06.20, shortly.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP