Comments (2)
I have removed -fpermissive flag, because it was suppressing next error:
In file included from /home/kacejot/Workspace/c++/xray-16/src/xrAICore/../xrAICore/Components/problem_solver.h:154,
from /home/kacejot/Workspace/c++/xray-16/src/xrAICore/../xrAICore/Navigation/PathManagers/path_manager_solver.h:11,
from /home/kacejot/Workspace/c++/xray-16/src/xrAICore/../xrAICore/Navigation/PathManagers/path_manager.h:43,
from /home/kacejot/Workspace/c++/xray-16/src/xrAICore/Navigation/graph_engine.h:16,
from /home/kacejot/Workspace/c++/xray-16/src/xrAICore/AISpaceBase.cpp:6:
/home/kacejot/Workspace/c++/xray-16/src/xrAICore/../xrAICore/Components/problem_solver_inline.h: In member function 'void CProblemSolver<_operator_condition, _condition_state, _operator, _condition_evaluator, _operator_id_type, _reverse_search, _operator_ptr, _condition_evaluator_ptr>::solve()':
/home/kacejot/Workspace/c++/xray-16/src/xrAICore/../xrAICore/Components/problem_solver_inline.h:365:17: error: there are no arguments to 'ai' that depend on a template parameter, so a declaration of 'ai' must be available [-fpermissive]
365 | m_failed = !ai().graph_engine().search(*this, reverse_search ? target_state() : current_state(),
| ^~
This one should be fixed.
from xray-16.
All such flags that suppress deprecated behavior as error must be removed.
All the errors after this remove should be fixed.
If you see platform-dependent compile flag - consider moving it to platform condition block like:
if (WIN32)
...
endif()
or remove it.
from xray-16.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xray-16.