mirror of
				https://github.com/isar/libmdbx.git
				synced 2025-10-31 15:38:57 +08:00 
			
		
		
		
	mdbx++: push/pop warnings for lcc 1.26
This commit is contained in:
		
							
								
								
									
										14
									
								
								mdbx.h++
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								mdbx.h++
									
									
									
									
									
								
							| @@ -268,6 +268,16 @@ | ||||
| #pragma warning(disable : 4702) /* unreachable code */ | ||||
| #endif                          /* _MSC_VER (warnings) */ | ||||
|  | ||||
| #if defined(__LCC__) && __LCC__ >= 126 | ||||
| #pragma diagnostic push | ||||
| #if __LCC__ < 127 | ||||
| #pragma diag_suppress 3058 /* workaround: call to is_constant_evaluated()      \ | ||||
|                               appearing in a constant expression `true` */ | ||||
| #pragma diag_suppress 3060 /* workaround: call to is_constant_evaluated()      \ | ||||
|                               appearing in a constant expression `false` */ | ||||
| #endif | ||||
| #endif /* E2K LCC (warnings) */ | ||||
|  | ||||
| //------------------------------------------------------------------------------ | ||||
| /// \brief The libmdbx C++ API namespace | ||||
| /// \ingroup cxx_api | ||||
| @@ -6015,6 +6025,10 @@ template <> struct hash<::mdbx::slice> { | ||||
| /// end cxx_api @} | ||||
| } // namespace std | ||||
|  | ||||
| #if defined(__LCC__) && __LCC__ >= 126 | ||||
| #pragma diagnostic pop | ||||
| #endif | ||||
|  | ||||
| #ifdef _MSC_VER | ||||
| #pragma warning(pop) | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user