Add to 11U68 11E68

Dependencies:   DirectoryList MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Files at this revision

API Documentation at this revision

Comitter:
okano
Date:
Fri Jun 05 13:37:38 2015 +0000
Parent:
48:99cfe3a929ea
Child:
50:57ad8e04f063
Commit message:
fixed: compilation error when it build with mbed-lib rev.100.

Changed in this revision

dir_handling/dir_handling.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/dir_handling/dir_handling.cpp	Thu Jan 29 10:48:57 2015 +0000
+++ b/dir_handling/dir_handling.cpp	Fri Jun 05 13:37:38 2015 +0000
@@ -35,7 +35,9 @@
     //printf( "file_name : %s\r\n", file_name.c_str() );
 
     file_name.push_back( '.' );
-    std::transform( file_name.begin(), file_name.end(), file_name.begin(), toupper );
+    std::transform( file_name.begin(), file_name.end(), file_name.begin(), (int (*)(int))std::toupper );
+        //  "toupper" function cast had been done for latest mbed-lib (checked with rev.100). 
+        //  see --> http://stackoverflow.com/questions/7131858/stdtransform-and-toupper-no-matching-function
 
     DirectoryList               dir( path_name );
     std::vector<std::string>    list;
--- a/mbed.bld	Thu Jan 29 10:48:57 2015 +0000
+++ b/mbed.bld	Fri Jun 05 13:37:38 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/cbbeb26dbd92
\ No newline at end of file