[lfs-book] [LFS Trac] #3203: Updates to installed programs lists

LFS Trac trac at linuxfromscratch.org
Fri Oct 12 20:06:17 PDT 2012


#3203: Updates to installed programs lists
--------------------------------+-------------------------------------------
 Reporter:  chris@…             |       Owner:  lfs-book@…                   
     Type:  task                |      Status:  new                          
 Priority:  normal              |   Milestone:  7.3                          
Component:  Book                |     Version:  SVN                          
 Severity:  normal              |    Keywords:                               
--------------------------------+-------------------------------------------

Comment(by bryan@…):

 Last time I looked at it, admittedly about ten years ago, flex++ generated
 lexer code that was usable from a C++ program.  flex generated C code
 only, which might or might not work when compiled as C++, depending on the
 compiler and the code that got generated.

 Looking for more current info, I see on wikipedia the claim that flex++
 will generate a couple of classes that can be used from the program.
 Classes being a C++ thing only, obviously plain flex doesn't do that.

 From [http://linux.die.net/man/1/flex++], I see that the -+ or --c++ flags
 appear to do the same thing, so flex inspecting argv[0] and automatically
 treating one of those flags as set when it's called as flex++, seems
 likely to me.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3203#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list