Re: Can we create cpp file using mIb2c?

This is a discussion on Re: Can we create cpp file using mIb2c? within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> On Tue, 20 Sep 2005 09:37:23 +0100, Dave Shield <D.T.Shield@...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-26-2005
Wes Hardaker
 
Posts: n/a
Default Re: Can we create cpp file using mIb2c?

>>>>> On Tue, 20 Sep 2005 09:37:23 +0100, Dave Shield <D.T.Shield@csc.liv.ac.uk> said:

>> Can we generate .cpp file using mib2c option?


Dave> No.
Dave> Net-SNMP is written in C, so mib2c is designed to
Dave> generate C code.

Dave> If you want to treat this as C++, you'll need to
Dave> rename the (and possibly tweak the code) manually.

Well, that's not entirely true. You can't create .cpp files
*currently* using mib2c using the current templates. However, you can
write your own mib2c.conf file that would generate .cpp code because
mib2c is a misnomer and can actually generate just about anything.

--
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0