diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-15 14:03:01 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-01-06 08:32:19 +0100 |
commit | 58fb44a30df863d4ee1c4eb6931d9d15947187a1 (patch) | |
tree | efc1277ec9539aaf5607d43836eb82b4d807db1a /sal | |
parent | a6dc4b7a1e2fcbe478bc7feae06bc9ff24b26aaf (diff) |
gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'
Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 13e4c31ea69f..aa6e835f0b6b 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -193,7 +193,7 @@ inline void printError( const ::osl::FileBase::RC nError ) inline void printInt( sal_Int64 i ) { printf( "#printInt_i64# " ); - printf( "The Integer64 is %"SAL_PRIdINT64"\n", i); + printf( "The Integer64 is %" SAL_PRIdINT64 "\n", i); } /** print an unsigned Integer Number. @@ -201,7 +201,7 @@ inline void printInt( sal_Int64 i ) inline void printInt( sal_uInt64 i ) { printf( "#printInt_u64# " ); - printf( "The unsigned Integer64 is %"SAL_PRIuUINT64"\n", i); + printf( "The unsigned Integer64 is %" SAL_PRIuUINT64 "\n", i); } /** print Boolean value. @@ -1291,7 +1291,7 @@ namespace osl_FileBase void searchFileURL_003( ) { - OSLTEST_DECLARE( SystemPathList, TEST_PLATFORM_ROOT":"TEST_PLATFORM_ROOT TEST_PLATFORM_TEMP":"TEST_PLATFORM_ROOT"system/path" ); + OSLTEST_DECLARE( SystemPathList, TEST_PLATFORM_ROOT ":" TEST_PLATFORM_ROOT TEST_PLATFORM_TEMP ":" TEST_PLATFORM_ROOT "system/path" ); nError1 = ::osl::FileBase::searchFileURL( aUserDirectoryURL, aSystemPathList, aUStr ); sal_Bool bOk = compareFileName( aUStr, aUserDirectoryURL ); CPPUNIT_ASSERT_MESSAGE( "test for searchFileURL function: search directory is a list of system paths", @@ -5715,27 +5715,27 @@ namespace osl_Directory { // within Linux, df / * 1024 bytes is the result sal_uInt64 nSize = _aVolumeInfo.getTotalSpace(); - printf("Total space: %"SAL_PRIuUINT64"\n", nSize); + printf("Total space: %" SAL_PRIuUINT64 "\n", nSize); } if (_nMask == osl_VolumeInfo_Mask_UsedSpace) { sal_uInt64 nSize = _aVolumeInfo.getUsedSpace(); - printf(" Used space: %"SAL_PRIuUINT64"\n", nSize); + printf(" Used space: %" SAL_PRIuUINT64 "\n", nSize); } if (_nMask == osl_VolumeInfo_Mask_FreeSpace) { sal_uInt64 nSize = _aVolumeInfo.getFreeSpace(); - printf(" Free space: %"SAL_PRIuUINT64"\n", nSize); + printf(" Free space: %" SAL_PRIuUINT64 "\n", nSize); } if (_nMask == osl_VolumeInfo_Mask_MaxNameLength) { sal_uInt32 nLength = _aVolumeInfo.getMaxNameLength(); - printf("max name length: %"SAL_PRIuUINT32"\n", nLength); + printf("max name length: %" SAL_PRIuUINT32 "\n", nLength); } if (_nMask == osl_VolumeInfo_Mask_MaxPathLength) { sal_uInt32 nLength = _aVolumeInfo.getMaxPathLength(); - printf("max path length: %"SAL_PRIuUINT32"\n", nLength); + printf("max path length: %" SAL_PRIuUINT32 "\n", nLength); } if (_nMask == osl_VolumeInfo_Mask_FileSystemCaseHandling) { |