Adjusted code to C++23.
This commit is contained in:
parent
bbf904729f
commit
fa3ab3f110
2
EPoll.h
2
EPoll.h
@ -32,7 +32,7 @@ namespace core {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
volatile long long eventId = 0;
|
long long eventId = 0;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// The constructor for the BMAEPoll object.
|
/// The constructor for the BMAEPoll object.
|
||||||
|
2
compile
2
compile
@ -5,7 +5,7 @@ do
|
|||||||
filename="${file%.*}"
|
filename="${file%.*}"
|
||||||
list="$list $filename.o"
|
list="$list $filename.o"
|
||||||
echo -n "Compiling $filename..."
|
echo -n "Compiling $filename..."
|
||||||
g++ -g -c -std=c++17 -I../CoreUtils $file &
|
g++ -g -c -std=c++23 -I../CoreUtils $file &
|
||||||
if [ $? = '0' ]
|
if [ $? = '0' ]
|
||||||
then
|
then
|
||||||
echo "OK"
|
echo "OK"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user