To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 865
864  |  866
Subject: 
Re: multiple-files projects in NBC
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 7 Aug 2007 17:32:30 GMT
Viewed: 
30455 times
  
In lugnet.robotics.nxt, Pavel Petrovic wrote:
> I might have missed this topic in the manual, but is there any support for
> splitting NBC project into several files? I know there is #include macro, but
> the problem is that the compiler then reports errors/warnings at lines relative
> to the merged single source-code, which then become quite useless.
> 
> If not, would it be possible to put this on the wish list for the next release?

The compiler line number error reporting problems are bugs.  It should work
properly for #included files but it does not currently do so.  I will try to get
that fixed once I get my book written.  My deadline is fast approaching and I
still have a lot of work to do.

I will also took at making it possible to compile multiple files into a single
executable.

John Hansen



Message is in Reply To:
  multiple-files projects in NBC
 
I might have missed this topic in the manual, but is there any support for splitting NBC project into several files? I know there is #include macro, but the problem is that the compiler then reports errors/warnings at lines relative to the merged (...) (19 years ago, 7-Aug-07, to lugnet.robotics.nxt)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR