[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error in build / emacs tricks

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Error in build / emacs tricks
Date: Tue, 1 Mar 2005 13:16:20 -0800
User-agent: Mutt/1.5.6i

On Tue, Mar 01, 2005 at 10:29:57AM -0500, Robert W. McGwier wrote:
> What is this about?  rebuilding gnuradio-core after a checkout:
> I cannot see an error in the file with emacs
> In file included from /usr/include/g++/algorithm:69,
>                 from /usr/include/boost/shared_ptr.hpp:31,
>                 from gr_types.h:26,
>                 from gr_runtime.h:26,
>                 from gr_block.h:26,
>                 from gr_block.cc:27:
> /usr/include/g++/bits/stl_algo.h: In function `_BidirectionalIter3
>   std::__merge_backward(_BidirectionalIter1, _BidirectionalIter1,
>   _BidirectionalIter2, _BidirectionalIter2, _BidirectionalIter3)':
> /usr/include/g++/bits/stl_algo.h:3346: error: stray '\240' in program
> make[4]: *** [gr_block.lo] Error 1
> make[4]: Leaving directory 
> `/usr/local/GnuRadio/gr-build/gnuradio-core/src/lib/runtime'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/usr/local/GnuRadio/gr-build/gnuradio-core/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/GnuRadio/gr-build/gnuradio-core/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/GnuRadio/gr-build/gnuradio-core'
> make: *** [all] Error 2
> M

Hi Bob,

First off, has stl_algo.h been modified lately?
Something must have changed.

\240 == 0xa0 displays in both xemacs and emacs as a space.

In emacs with the cursor at the beginning of the file type this:

M-: (search-forward "\xa0")

I.e., ask this lisp interpreter to evaluate (search-forward "\xa0")

(There's probably some way to enter this using M-x, but I couldn't get
the quoting right.  Getting a raw eval prompt worked)

If it finds the character, it will move point there and return the
buffer offset of the character.  C-d will delete the char.

FYI, you can insert a \240 using M-: (insert 160)


Or you could try M-x hexlify-buffer.
(I'd probably narrow the buffer to the single line in question before
using hexlify-buffer.)  Use M-x hexl-mode-exit to get back to your
normal mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]