 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nathan Kopp <Nat### [at] kopp com> wrote:
: I fixed the // comments, but I don't know if I got all of the lowercase
: 'false'. I never notice those because my compiler accepts them.
I think that most compilers have some option to make it a strict ANSI C
compiler so that it turns off all the non-ANSI stuff.
I'm very grateful that you are willing to help those who have C-compilers
without those non-standard extensions.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This time it compiled a lot easier. There was only one //-comment at
line 2675 of pattern.c.
The normals still look strange, just like in megapov 0.1. Is it intentional?
If yes, then how do they work now?
I compiled with all warnings turned on. The complete list of them (which
is quite large) follows, if you are interested. Some of them may be important.
I have separated the "unused parameter" warnings form the others because
they are so many and they might not be as important.
../f_param.c:72: warning: `XRayMin' might be used uninitialized in this function
../f_param.c:72: warning: `XRayMax' might be used uninitialized in this function
../f_param.c:72: warning: `YRayMin' might be used uninitialized in this function
../f_param.c:72: warning: `YRayMax' might be used uninitialized in this function
../f_param.c:72: warning: `TPotRes' might be used uninitialized in this function
../f_param.c:295: warning: unused variable `IPoint'
../f_param.c:534: warning: implicit declaration of function `MAError'
../f_param.c:526: warning: `Last' might be used uninitialized in this function
../mblur.c:579: warning: unused variable `Quadrics'
../mblur.c:577: warning: unused variable `Max'
../mblur.c:577: warning: unused variable `Min'
../mblur.c:575: warning: unused variable `count'
../mblur.c:575: warning: unused variable `i'
../bbox.c:907: warning: suggest parentheses around && within ||
../media.c:1053: warning: `r' might be used uninitialized in this function
../mem.c:871: warning: comparison of unsigned expression < 0 is always false
../bezier2.c:628: warning: `w0' might be used uninitialized in this function
../bezier2.c:628: warning: `w1' might be used uninitialized in this function
../bezier2.c:628: warning: `w00' might be used uninitialized in this function
../bezier2.c:784: warning: suggest explicit braces to avoid ambiguous `else'
../bezier2.c:797: warning: suggest explicit braces to avoid ambiguous `else'
../povray.c:1497: warning: `/*' within comment
../povray.c:2059: warning: statement with no effect
../povray.c:2068: warning: statement with no effect
../povray.c:2074: warning: statement with no effect
../povray.c:2092: warning: statement with no effect
../povray.c:2104: warning: statement with no effect
../povray.c:2113: warning: statement with no effect
../tokenize.c:1623: warning: static declaration for `Skip_Spaces' follows non-static
../tokenize.c:1676: warning: static declaration for `Parse_C_Comments' follows
non-static
../tokenize.c:1759: warning: static declaration for `Begin_String' follows non-static
../tokenize.c:1784: warning: static declaration for `Stuff_Character' follows
non-static
../tokenize.c:1817: warning: static declaration for `End_String' follows non-static
../tokenize.c:1848: warning: static declaration for `Read_Float' follows non-static
../tokenize.c:2023: warning: static declaration for `Parse_String_Literal' follows
non-static
../tokenize.c:2118: warning: static declaration for `Read_Symbol' follows non-static
../tokenize.c:2314: warning: static declaration for `Echo_getc' follows non-static
../tokenize.c:2371: warning: static declaration for `Echo_ungetc' follows non-static
../tokenize.c:3331: warning: static declaration for `Skip_Tokens' follows non-static
../tokenize.c:3383: warning: static declaration for `get_hash_value' follows
non-static
../tokenize.c:3419: warning: static declaration for `init_sym_tables' follows
non-static
../tokenize.c:3433: warning: static declaration for `Add_Sym_Table' follows non-static
../tokenize.c:3456: warning: static declaration for `Destroy_Table' follows non-static
../tokenize.c:3526: warning: static declaration for `Add_Entry' follows non-static
../tokenize.c:3546: warning: static declaration for `Find_Symbol' follows non-static
../tokenize.c:3568: warning: static declaration for `Remove_Symbol' follows non-static
../tokenize.c:3594: warning: static declaration for `Check_Macro_Vers' follows
non-static
../tokenize.c:3603: warning: static declaration for `Parse_Macro' follows non-static
../tokenize.c:3700: warning: static declaration for `Invoke_Macro' follows non-static
../tokenize.c:3788: warning: static declaration for `Return_From_Macro' follows
non-static
../tokenize.c:3910: warning: static declaration for `Parse_Initalizer' follows
non-static
../tokenize.c:3937: warning: static declaration for `Parse_Fopen' follows non-static
../tokenize.c:3985: warning: static declaration for `Parse_Fclose' follows non-static
../tokenize.c:4006: warning: static declaration for `Parse_Read' follows non-static
../tokenize.c:4039: warning: empty body in an if-statement
../tokenize.c:4096: warning: static declaration for `Parse_Read_Value' follows
non-static
../tokenize.c:4236: warning: static declaration for `Parse_Write' follows non-static
../tokenize.c:4302: warning: static declaration for `Parse_Cond_Param' follows
non-static
../tokenize.c:4319: warning: static declaration for `Parse_Cond_Param2' follows
non-static
../tokenize.c:4333: warning: static declaration for `Inc_CS_Index' follows non-static
../optin.c:1464: warning: suggest explicit braces to avoid ambiguous `else'
../truetype.c:1820: warning: comparison between signed and unsigned
../truetype.c:3408: warning: `CalculateStringHeight' defined but not used
../isoblob.c:2959: warning: file does not end in newline
../isoblob.c:1289: warning: unused variable `Func'
../isoblob.c:138: warning: `Isoblob_UVCoord' declared `static' but never defined
../parse.c:1420: warning: `PrecompDepth' might be used uninitialized in this function
../parse.c:1945: warning: unused variable `temp'
../parse.c:1968: warning: unused variable `flags'
../parse.c:1967: warning: unused variable `tstr'
../parse.c:621: warning: `i' might be used uninitialized in this function
../parse.c:4253: warning: `Vertices' might be used uninitialized in this function
../parse.c:6250: warning: `tv1' might be used uninitialized in this function
../parse.c:6250: warning: `tv2' might be used uninitialized in this function
../parse.c:6253: warning: `last_knot' might be used uninitialized in this function
../parse.c:6618: warning: `go_next' might be used uninitialized in this function
../parse.c:6618: warning: `go_next' might be used uninitialized in this function
../parse.c:7856: warning: suggest parentheses around assignment used as truth value
../parse.c:7853: warning: unused variable `local'
../parse.c:6618: warning: `go_next' might be used uninitialized in this function
../parse.c:621: warning: `i' might be used uninitialized in this function
../parse.c:265: warning: `Parse_Isolob_Element_Mods' declared `static' but never
defined
../uniutils.c:121: warning: `bitMask' might be used uninitialized in this function
../uniutils.c:337: warning: implicit declaration of function `strcasecmp'
../uniutils.c:328: warning: `encoding' might be used uninitialized in this function
../isofunc.c:361: warning: unused variable `z2'
../isofunc.c:883: warning: missing braces around initializer
../isofunc.c:883: warning: (near initialization for `func_table[0]')
../parstxtr.c:142: warning: unused variable `val'
../radiosit.c:448: warning: `/*' within comment
../radiosit.c:449: warning: `/*' within comment
../radiosit.c:1369: warning: `/*' within comment
../radiosit.c:133: warning: `initChoicesFromPhotons' declared `static' but never
defined
../radiosit.c:134: warning: `chooseRayFromPhotons' declared `static' but never defined
../isosurf.c:156: warning: comparison between signed and unsigned
../isosurf.c:157: warning: comparison between signed and unsigned
../pattern.c:112: warning: `/*' within comment
../pattern.c:113: warning: `/*' within comment
../pattern.c:480: warning: `answer' might be used uninitialized in this function
../pattern.c:599: warning: unused variable `vali'
../pattern.c:1252: warning: `cf' might be used uninitialized in this function
../pattern.c:1286: warning: `cf' might be used uninitialized in this function
../pattern.c:1321: warning: `cf' might be used uninitialized in this function
../pattern.c:1355: warning: `cf' might be used uninitialized in this function
../pattern.c:1390: warning: `cf' might be used uninitialized in this function
../pattern.c:1425: warning: `cf' might be used uninitialized in this function
../pattern.c:1461: warning: `cf' might be used uninitialized in this function
../pattern.c:1507: warning: `cf' might be used uninitialized in this function
../pattern.c:1552: warning: `cf' might be used uninitialized in this function
../pattern.c:1603: warning: `cf' might be used uninitialized in this function
../pattern.c:2619: warning: implicit declaration of function `Copy_Object'
../pattern.c:2619: warning: assignment makes pointer from integer without a cast
../pattern.c:2674: warning: implicit declaration of function `Destroy_Object'
../pattern.c:3898: warning: value computed is not used
../pattern.c:3899: warning: value computed is not used
../pattern.c:3900: warning: value computed is not used
../pattern.c:4075: warning: implicit declaration of function `Inside_Object'
../pattern.c:3658: warning: `value' might be used uninitialized in this function
../vbuffer.c:574: warning: suggest parentheses around && within ||
../rbezier.c:896: warning: suggest explicit braces to avoid ambiguous `else'
../rbezier.c:909: warning: suggest explicit braces to avoid ambiguous `else'
../rbezier.c:1426: warning: suggest explicit braces to avoid ambiguous `else'
../rbezier.c:1508: warning: suggest explicit braces to avoid ambiguous `else'
../photons.c:1230: warning: `/*' within comment
../render.c:1765: warning: unused variable `coloursum'
../render.c:1845: warning: suggest parentheses around && within ||
../render.c:1792: warning: `oldptflag' might be used uninitialized in this function
../express.c:443: warning: suggest parentheses around comparison in operand of &
../express.c:682: warning: comparison between signed and unsigned
../express.c:2861: warning: comparison between signed and unsigned
../express.c:3002: warning: comparison between signed and unsigned
../express.c:3032: warning: comparison between signed and unsigned
../f_expr.c:96: warning: overflow in implicit constant conversion
../f_expr.c:333: warning: implicit declaration of function `pov_stricmp'
../f_expr.c:460: warning: suggest explicit braces to avoid ambiguous `else'
../f_expr.c:476: warning: array subscript has type `char'
../f_expr.c:477: warning: suggest explicit braces to avoid ambiguous `else'
../f_expr.c:245: warning: unused variable `tstr'
../f_expr.c:186: warning: `Local_Float' might be used uninitialized in this function
../f_expr.c:186: warning: `Local_Float' might be used uninitialized in this function
../lighting.c: warning: 1 trigraph(s) encountered
../lighting.c:1409: warning: `First_Call' might be used uninitialized in this function
../lighting.c:2356: warning: `r' might be used uninitialized in this function
../lighting.c:4537: warning: `doReflection' might be used uninitialized in this
function
../lighting.c:4537: warning: `doDiffuse' might be used uninitialized in this function
../lighting.c:4537: warning: `doRefraction' might be used uninitialized in this
function
../lighting.c:4547: warning: `TIR_occured' might be used uninitialized in this
function
../lighting.c:5698: warning: unused variable `expanded'
../lighting.c:5697: warning: unused variable `prevDensity'
../lighting.c:5687: warning: `GlobalPhotonDiffuse' defined but not used
../lighting.c:4440: warning: `BacktraceDiffuse' defined but not used
../f_func.c:280: warning: implicit declaration of function `asinh'
../f_func.c:292: warning: implicit declaration of function `acosh'
../f_func.c:304: warning: implicit declaration of function `atanh'
../png_pov.c:1559: warning: comparison between signed and unsigned
../png_pov.c:1570: warning: comparison between signed and unsigned
../png_pov.c:1596: warning: comparison between signed and unsigned
../png_pov.c:1615: warning: comparison between signed and unsigned
../png_pov.c:1632: warning: comparison between signed and unsigned
../png_pov.c:1649: warning: comparison between signed and unsigned
../sphsweep.c:126: warning: missing braces around initializer
../sphsweep.c:126: warning: (near initialization for `Catmull_Rom_Matrix[0]')
../sphsweep.c:134: warning: missing braces around initializer
../sphsweep.c:134: warning: (near initialization for `B_Matrix[0]')
../sphsweep.c:181: warning: `len' might be used uninitialized in this function
../sphsweep.c:447: warning: `b' might be used uninitialized in this function
../sphsweep.c:447: warning: `c' might be used uninitialized in this function
../sphsweep.c:447: warning: `d' might be used uninitialized in this function
../sphsweep.c:447: warning: `e' might be used uninitialized in this function
../sphsweep.c:447: warning: `f' might be used uninitialized in this function
../sphsweep.c:447: warning: `g' might be used uninitialized in this function
../sphsweep.c:447: warning: `h' might be used uninitialized in this function
../sphsweep.c:447: warning: `i' might be used uninitialized in this function
../sphsweep.c:447: warning: `j' might be used uninitialized in this function
../sphsweep.c:447: warning: `k' might be used uninitialized in this function
../sphsweep.c:450: warning: `Num_Poly_Roots' might be used uninitialized in this
function
../f_param.c:281: warning: unused parameter `IPoint'
../f_param.c:282: warning: unused parameter `Object'
../f_param.c:371: warning: unused parameter `Vector'
../f_param.c:379: warning: unused parameter `Vector'
../f_param.c:387: warning: unused parameter `Vector'
../f_param.c:408: warning: unused parameter `Object'
../point.c:271: warning: unused parameter `Vector'
../point.c:304: warning: unused parameter `Vector'
../fractal.c:427: warning: unused parameter `Object'
../fractal.c:456: warning: unused parameter `Vector'
../fractal.c:485: warning: unused parameter `Vector'
../fractal.c:514: warning: unused parameter `Vector'
../poly.c:1197: warning: unused parameter `Vector'
../poly.c:1230: warning: unused parameter `Vector'
../poly.c:1263: warning: unused parameter `Vector'
../super.c:532: warning: unused parameter `Vector'
../super.c:570: warning: unused parameter `Vector'
../super.c:608: warning: unused parameter `Vector'
../mem.c:562: warning: unused parameter `LogFile'
../mem.c:633: warning: unused parameter `LogFile'
../mem.c:868: warning: unused parameter `file'
../mem.c:868: warning: unused parameter `line'
../polygon.c:290: warning: unused parameter `IPoint'
../polygon.c:290: warning: unused parameter `Object'
../polygon.c:329: warning: unused parameter `Inter'
../polygon.c:367: warning: unused parameter `Vector'
../polygon.c:405: warning: unused parameter `Vector'
../polygon.c:443: warning: unused parameter `Vector'
../polygon.c:529: warning: unused parameter `Object'
../targa.c:435: warning: unused parameter `line_number'
../bezier.c:1849: warning: unused parameter `IPoint'
../bezier.c:1849: warning: unused parameter `Object'
../bezier.c:1882: warning: unused parameter `Object'
../bezier.c:1917: warning: unused parameter `Trans'
../bezier.c:1963: warning: unused parameter `Vector'
../bezier.c:1996: warning: unused parameter `Trans'
../bezier.c:2089: warning: unused parameter `Object'
../bezier.c:2367: warning: unused parameter `Object'
../mesh.c:532: warning: unused parameter `Vector'
../mesh.c:565: warning: unused parameter `Vector'
../mesh.c:598: warning: unused parameter `Vector'
../mesh.c:679: warning: unused parameter `Object'
../hcmplx.c:352: warning: unused parameter `fractal'
../hcmplx.c:604: warning: unused parameter `fractal'
../hcmplx.c:844: warning: unused parameter `fractal'
../blob.c:1962: warning: unused parameter `Vector'
../blob.c:1999: warning: unused parameter `Vector'
../blob.c:2036: warning: unused parameter `Vector'
../hfield.c:1240: warning: unused parameter `Vector'
../hfield.c:1273: warning: unused parameter `Vector'
../objects.c:1055: warning: unused parameter `Object'
../ppm.c:289: warning: unused parameter `line_number'
../torus.c:424: warning: unused parameter `Vector'
../torus.c:462: warning: unused parameter `Vector'
../torus.c:500: warning: unused parameter `Vector'
../boxes.c:714: warning: unused parameter `Vector'
../prism.c:907: warning: unused parameter `Vector'
../prism.c:945: warning: unused parameter `Vector'
../prism.c:983: warning: unused parameter `Vector'
../triangle.c:576: warning: unused parameter `IPoint'
../triangle.c:576: warning: unused parameter `Object'
../triangle.c:609: warning: unused parameter `Inter'
../triangle.c:739: warning: unused parameter `Trans'
../triangle.c:789: warning: unused parameter `Vector'
../triangle.c:825: warning: unused parameter `Trans'
../triangle.c:927: warning: unused parameter `Object'
../triangle.c:1086: warning: unused parameter `Trans'
../triangle.c:1136: warning: unused parameter `Vector'
../triangle.c:1172: warning: unused parameter `Trans'
../triangle.c:1301: warning: unused parameter `Object'
../quadrics.c:511: warning: unused parameter `Vector'
../quadrics.c:544: warning: unused parameter `Vector'
../quadrics.c:577: warning: unused parameter `Vector'
../truetype.c:3009: warning: unused parameter `Object'
../truetype.c:3032: warning: unused parameter `Vector'
../truetype.c:3037: warning: unused parameter `Vector'
../truetype.c:3042: warning: unused parameter `Vector'
../interior.c:91: warning: unused parameter `Interior'
../quatern.c:430: warning: unused parameter `fractal'
../quatern.c:495: warning: unused parameter `fractal'
../isoblob.c:1531: warning: unused parameter `Vector'
../isoblob.c:1564: warning: unused parameter `Vector'
../isoblob.c:1597: warning: unused parameter `Vector'
../parse.c:1963: warning: unused parameter `parse_type'
../parse.c:6668: warning: unused parameter `handle'
../parse.c:6681: warning: unused parameter `handle'
../parse.c:6689: warning: unused parameter `parent'
../parse.c:6689: warning: unused parameter `handle'
../parse.c:6696: warning: unused parameter `handle'
../parse.c:8598: warning: unused parameter `NumberPtr'
../isofunc.c:45: warning: unused parameter `Func'
../isofunc.c:50: warning: unused parameter `Func'
../isofunc.c:55: warning: unused parameter `Func'
../isofunc.c:792: warning: unused parameter `Func'
../userio.c:501: warning: unused parameter `a'
../userio.c:528: warning: unused parameter `x2'
../userio.c:528: warning: unused parameter `y2'
../cones.c:506: warning: unused parameter `Vector'
../cones.c:539: warning: unused parameter `Vector'
../cones.c:572: warning: unused parameter `Vector'
../isosurf.c:595: warning: unused parameter `Vector'
../isosurf.c:631: warning: unused parameter `Vector'
../isosurf.c:667: warning: unused parameter `Vector'
../isosurf.c:982: warning: unused parameter `Side1'
../isosurf.c:982: warning: unused parameter `Side2'
../pattern.c:1226: warning: unused parameter `iters'
../lathe.c:710: warning: unused parameter `Vector'
../lathe.c:748: warning: unused parameter `Vector'
../lathe.c:786: warning: unused parameter `Vector'
../rbezier.c:1146: warning: unused parameter `IPoint'
../rbezier.c:1147: warning: unused parameter `Object'
../rbezier.c:1155: warning: unused parameter `Trans'
../rbezier.c:1175: warning: unused parameter `Trans'
../rbezier.c:1194: warning: unused parameter `Vector'
../rbezier.c:1228: warning: unused parameter `Object'
../discs.c:271: warning: unused parameter `Inter'
../discs.c:304: warning: unused parameter `Vector'
../discs.c:337: warning: unused parameter `Vector'
../discs.c:370: warning: unused parameter `Vector'
../photons.c:1206: warning: unused parameter `RawNorm'
../photons.c:2160: warning: unused parameter `Ray'
../sor.c:636: warning: unused parameter `Vector'
../sor.c:674: warning: unused parameter `Vector'
../sor.c:712: warning: unused parameter `Vector'
../lighting.c:4439: warning: unused parameter `Object'
../planes.c:266: warning: unused parameter `Inter'
../planes.c:353: warning: unused parameter `Vector'
../spheres.c:591: warning: unused parameter `Vector'
../png_pov.c:718: warning: unused parameter `line_number'
../sphsweep.c:1001: warning: unused parameter `Object'
../sphsweep.c:1163: warning: unused parameter `Vector'
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3854d5c5@news.povray.org> , Nieminen Juha
<war### [at] punarastas cs tut fi> wrote:
> I think that most compilers have some option to make it a strict ANSI C
> compiler so that it turns off all the non-ANSI stuff.
> I'm very grateful that you are willing to help those who have C-compilers
> without those non-standard extensions.
Well, I presume Nathan is using Visual C++ which is more a C++ compiler than
a (ANSI) C compiler where all these are standard as you know. Did you try
to force GCC to compile the files as C++ code?
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nieminen Juha wrote in message <3854ec3d@news.povray.org>...
> I compiled with all warnings turned on. The complete list of them (which
>is quite large) follows, if you are interested. Some of them may be
important.
> I have separated the "unused parameter" warnings form the others because
>they are so many and they might not be as important.
The "unused parameter" warnings are intentional and essential to the way in
which POV-Ray implements function overloading for things like object
intersection tests.
Mark
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thorsten Froehlich <tho### [at] trf de> wrote:
: Well, I presume Nathan is using Visual C++ which is more a C++ compiler than
: a (ANSI) C compiler where all these are standard as you know.
I still think that most compilers (C or C++) have some kind of option to
make it a strict ANSI C compiler.
These kind of hybrid compilers are bad IMHO. They are not C compilers nor
C++ compilers. They are some kind of mutation between the two.
: Did you try
: to force GCC to compile the files as C++ code?
Yes, but it didn't work. It has some illegal code when compiling as C++.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mark Wagner <mar### [at] gte net> wrote:
: The "unused parameter" warnings are intentional and essential to the way in
: which POV-Ray implements function overloading for things like object
: intersection tests.
I thought about something like that and that's why I separated them from
the rest.
Probably povray 4 will not have this problem.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <38562588@news.povray.org> , Nieminen Juha
<war### [at] punarastas cs tut fi> wrote:
> I still think that most compilers (C or C++) have some kind of option to
> make it a strict ANSI C compiler.
I am not sure if Visual does...
> These kind of hybrid compilers are bad IMHO. They are not C compilers nor
> C++ compilers. They are some kind of mutation between the two.
Yes, too true! That is the price we have to pay in the GUI age ;-)
> : Did you try
> : to force GCC to compile the files as C++ code?
>
> Yes, but it didn't work. It has some illegal code when compiling as C++.
Old style function headers, right? There were still a few left in Superpatch
and I guess they still are.
BTW, do you have any problems compiling the official version with strict
ANSI set and/or as C++? For me that works just fine and I am curious if it
also works under gcc.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi,
based on the work of Mark, I did a compile for Solaris 7.
This is done with the 64bit compilers. I had to introduce LDFLAGS for
that, and twiddled a bit on POVLIBDIR to use POVPATH.
I did not do thorough test until now, just wanted to let you know about
it.
I attached the makefile, the binary.tar.gz is at
http://www.numerik.uni-kiel.de/~ah/POV-Ray/unimegapov2.tar.gz
Axel
Post a reply to this message
Attachments:
Download 'us-ascii' (92 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thorsten Froehlich wrote:
>
> In article <38562588@news.povray.org> , Nieminen Juha
> <war### [at] punarastas cs tut fi> wrote:
>
> > I still think that most compilers (C or C++) have some kind of option to
> > make it a strict ANSI C compiler.
>
> I am not sure if Visual does...
>
Project/Project Settings, tab C/C++, category Customize, checkbox
"Disable language extensions" seems to be it (yes it's well hidden isn't
it?)
Jerome
--
*******************************
* they'll tell you what can't * mailto:ber### [at] iname com
* be done and why... * http://www.enst.fr/~jberger
* Then do it. *
*******************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thorsten Froehlich <tho### [at] trf de> wrote:
: BTW, do you have any problems compiling the official version with strict
: ANSI set and/or as C++?
Of course the official povray compiles as ANSI C.
I have never tried to compile it as C++ (never needed).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |