mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Corrected a 'dropping qualifiers' compiler warning displayed when compiling Boost Jam's fileunix.c module using the intel compiler.
[SVN r80260]
This commit is contained in:
@@ -169,7 +169,10 @@ void file_dirscan_( file_info_t * const d, scanback func, void * closure )
|
||||
|
||||
int file_mkdir( char const * const path )
|
||||
{
|
||||
return mkdir( path, 0777 );
|
||||
/* Explicit cast to remove const modifiers and avoid related compiler
|
||||
* warnings displayed when using the intel compiler.
|
||||
*/
|
||||
return mkdir( (char *)path, 0777 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user