Remove __DATE__ and __TIME__ usage
These macros result in a non-deterministic build. In chromium, these macros are specifically set to empty, resulting in a compile error.
This commit is contained in:
		
							parent
							
								
									4e6b9ea329
								
							
						
					
					
						commit
						f4edb8f820
					
				@ -227,7 +227,7 @@ namespace {
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            else if (arg == "--version" || arg == "-V") {
 | 
					            else if (arg == "--version" || arg == "-V") {
 | 
				
			||||||
                std::cout << basename(argv[0]) << " version 0.97 " << __DATE__ << " " << __TIME__ << std::endl;
 | 
					                std::cout << basename(argv[0]) << " version 0.97" << std::endl;
 | 
				
			||||||
                exit(0);
 | 
					                exit(0);
 | 
				
			||||||
            } else if (arg == "--input" || arg == "-i") {
 | 
					            } else if (arg == "--input" || arg == "-i") {
 | 
				
			||||||
                // Collect input files
 | 
					                // Collect input files
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user