$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r80260 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-27 07:41:15
Author: jurko
Date: 2012-08-27 07:41:15 EDT (Mon, 27 Aug 2012)
New Revision: 80260
URL: http://svn.boost.org/trac/boost/changeset/80260
Log:
Corrected a 'dropping qualifiers' compiler warning displayed when compiling Boost Jam's fileunix.c module using the intel compiler.
Text files modified:
trunk/tools/build/v2/engine/fileunix.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/engine/fileunix.c
==============================================================================
--- trunk/tools/build/v2/engine/fileunix.c (original)
+++ trunk/tools/build/v2/engine/fileunix.c 2012-08-27 07:41:15 EDT (Mon, 27 Aug 2012)
@@ -169,7 +169,10 @@
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 );
}