![make 编译问题](https://linux22.com/image/924016/make%20%E7%BC%96%E8%AF%91%E9%97%AE%E9%A2%98.png)
在尝试构建时,我收到很多警告。我在Colab:
!git clone -qqq https://github.com/nu774/mp4fpsmod.git > /dev/null
!sudo apt-get update -y -qqq --fix-missing && apt-get install -y -qqq autoconf libtool > /dev/null
%cd mp4fpsmod
!./bootstrap.sh
!./configure
上述所有命令均成功完成,但是运行时make
出现很多警告:
!make
make all-recursive
make[1]: Entering directory '/content/mp4fpsmod'
Making all in mp4v2
make[2]: Entering directory '/content/mp4fpsmod/mp4v2'
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -g -O2 -fvisibility=hidden -c -o src/3gp.lo src/3gp.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -g -O2 -fvisibility=hidden -c src/3gp.cpp -o src/3gp.o
In file included from ./src/src.h:28:0,
from ./src/impl.h:6,
from src/3gp.cpp:28:
./src/mp4util.h:36:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
throw new Exception("assert failure: "LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \
^
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -g -O2 -fvisibility=hidden -c -o src/atom_ac3.lo src/atom_ac3.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -g -O2 -fvisibility=hidden -c src/atom_ac3.cpp -o src/atom_ac3.o
In file included from ./src/src.h:28:0,
from ./src/impl.h:6,
from src/atom_ac3.cpp:24:
./src/mp4util.h:36:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
throw new Exception("assert failure: "LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \
我该如何解决这个问题?如果我忽略所有警告,这会影响吗mp4fpsmod
?