No it's just a shortcut to avoid to print the complete path.
Maybe it was better if I wrote:

CC main.cpp -o test -library=stlport4 -I/[...]/boost_1_70_0/

Thanks,
    Mirko




On Wed, Dec 11, 2019 at 5:44 PM Piotr Kowalski <koval.gnu@gmail.com> wrote:
If those options are really what you are doing then I guess include path to boost is not set correctly.
/.../boost_1_70_0/ will llook for a directory called ... and for boost_1_70_0 as a subdirectory. You may need to change ... to .. and remove leading / which makes the compiler to look from the root directory
I would suggest using -I../boost_1_70_0 rather than what you have shown

śr., 11 gru 2019 o 17:36 mik via Boost-users <boost-users@lists.boost.org> napisał(a):
Hi again,

this time I've a problem to compile a simple program using an unordered_set. The program is the following:

---
//main.cpp
#include <boost/config.hpp>
#include <boost/unordered_set.hpp>
#include <boost/functional/hash.hpp>

int main()
{
   boost::unordered::unordered_set<std::string> set;

   return 0;
}
---

I compile it with the command below:

CC main.cpp -o test -library=stlport4 -I/.../boost_1_70_0/

and I got the error:

ir_build_type(): unexpected type

Please help me!!

Thank you,
    Mirko


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users