几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】borland compile options (http://www.dimcax.com/hust/showthread.php?t=15264)

yang686526 2009-05-04 04:57 PM

【转帖】borland compile options
 
borland compile options
borland compile options
what are the compile flags used for the borland libs?
i'd like to use the same options if possible.
it appears that "treat enum types as ints" (-b) was on. the default is off, which might explain the problem seen
in the dwgdirect reference, faq:
oddbdatabase::writefile() writes a zero length file using the bb6 version of dwgdirect.
this appears to be bb6 glitch. try using:
if (filetype==oddb::kdxf)
{
pdb->writefile(&fb, oddb::kdxf, outver);
}
else
{
pdb->writefile(&fb, oddb::kdwg, outver);
};
instead of:
pdb->writefile(&fb, filetype, outver);
i believe these are flags from our 'jam' configuration file.
-s c++flags="-twd -w-8027 -w-8026 -w-8066 -w-8022 -w-8004 -w-8057 -dwin32" -s od_lib_name=bb6wd -s od_platform=win -s od_path="c:\program files\borland\cbuilder6" -s od_platform_libs="" -s ar="tlib /p512"


所有的时间均为北京时间。 现在的时间是 03:27 PM.