Boost logo

Boost :

Subject: Re: [boost] Error while linking boost. spirit
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-06-23 05:56:05


On 06/23/2013 11:40 AM, ... ... wrote:

> synthax_analyser.cpp: In function ‘int main()’:synthax_analyser.cpp:24:4: error: ‘lex’ does not name a type

All Boost symbols reside in the "boost" namespace, so you should add
the following after the includes:

   using namespace boost;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk