Просмотр исходного кода

need to use -D_POSIX_C_SOURCE=199309L with como strict mode and -D__STRICT_ANSI__ to get POSIX realtime functions

[SVN r11435]
Jens Maurer 24 лет назад
Родитель
Сommit
a517632ae5
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      status/compiler.cfg

+ 4 - 4
status/compiler.cfg

@@ -47,8 +47,8 @@ rm -f *.ii *.ti; como-4.2.45-libcomo -tnone -o boosttmp.exe -I%include %source -
 linux
 como-strict
 Comeau C++ 4.2.45 beta2 (strict mode) libcomo beta15
-como-4.2.45-libcomo --strict_warnings -D__STRICT_ANSI__ -c -I%include %source
-rm -f *.ii *.ti; como-4.2.45-libcomo -tnone --strict_warnings -D__STRICT_ANSI__ -o boosttmp.exe -I%include %source -lm -lrt
+como-4.2.45-libcomo --strict_warnings -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -c -I%include %source
+rm -f *.ii *.ti; como-4.2.45-libcomo -tnone --strict_warnings -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -o boosttmp.exe -I%include %source -lm -lrt
 <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br>(strict mode)<br>libcomo<br>beta15
 
 linux
@@ -61,8 +61,8 @@ rm -f *.ii *.ti; como-4.2.45-stlport -tused -o boosttmp.exe -I%include %source -
 linux
 como-strict-stlport
 Comeau C++ 4.2.45 beta2 (strict mode) STLport 4.5
-como-4.2.45-stlport --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -c -I%include %source
-rm -f *.ii *.ti; como-4.2.45-stlport --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -o boosttmp.exe -I%include %source -lrt
+como-4.2.45-stlport --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -c -I%include %source
+rm -f *.ii *.ti; como-4.2.45-stlport -tused --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -o boosttmp.exe -I%include %source -lrt
 <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br>(strict mode)<br><a href="http://www.stlport.org/">STLport</a><br>4.5
 
 linux

粤ICP备19079148号