|
|
|||
File indexing completed on 2026-04-09 07:49:16
0001 #!/bin/bash 0002 0003 name=scpp_test 0004 FOLD=/tmp/$name 0005 mkdir -p $FOLD 0006 0007 stds="c++11 c++17" 0008 0009 for std in $stds ; do 0010 bin=$FOLD/${name}_$std 0011 gcc $name.cc -std=$std -lstdc++ -o $bin 0012 [ $? -ne 0 ] && echo build error && exit 1 0013 $bin 0014 rc=$? 0015 echo $bin rc $rc 0016 done 0017 0018 0019 0020
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|