C++ Usage Issues - Problems, Solutions, and Suggestions

Joel Sherrill joel.sherrill at oarcorp.com
Thu Jun 21 15:15:20 UTC 2007


Robert S. Grimes wrote:
> Joel Sherrill wrote:
>   
>> So you don't have to page to the bottom..
>>
>> + I think the CONFIGURE_TEST_XXX uses should be
>> fixed now.  Or at least confdefs.h will give an error that
>> they are obsolete.  I got bit by this one on some code myself.
>>     
> The example in Chapter 25 of the "RTEMS C Users Guide" also has this
> near the bottom:
>
> #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER  /* for stdio */
> #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER    /* for time services */
>
> Perhaps a global grep on CONFIGURE_TEST is a good idea?  :-)
>   
That appears to be gone in CVS.

I have also fixed this in the network-demos along
with the confdefs.h -> rtems/confdefs.h.

Check out the network demos from CVS and see if
they are closer to being right for you now.
>> + Please send a patch for everything you changed.  I don't
>> care about the .c->.cc changes but the ones that improve
>> the correctness of the code are VERY important.
>>     
> Okay, will do
>   
Thanks.
>> + I obviously need to add the network demos to the automated
>> build sweep.  When networking is configured, I should at least
>> compile all demos with the loopback driver configured.
>>     
> Good idea!
>
> Thanks, guys!
> -Bob
>
>   




More information about the users mailing list