V8 beta

Previous topic - Next topic

MrTAToad

QuoteDid I really have the impression I could make this work!? Oh my...
Of course!  You can get anything to work!

Quentin

Gernot, who else, if not you :)

MrTAToad

#137
Just need to get rid of that inaccurate warning message now...

Couple of other things :


  • The fmod_player example wont compile as it is as the INLINE c commands (specially if) are converted to uppercase - files with INLINE do have a tendancy to do this.

Kitty Hello

Hm. Not for me. Can you reproduce that?

Hatonastick

Hey Gernot, what does this actually mean?

// Mac/iPhone:
//    NETWEBGET hung for good.

Does that mean it works properly now or that you've removed it?
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

matchy

It's now working on the Mac on the LAN, but still not on the iPod Touch. :(

Kitty Hello

Oh noes! What can that be again... I'll have to investigate further. Still locking?

matchy

Freezes after web visit on iPhone. Can someone verify?!

MrTAToad

Quote from: Kitty Hello on 2010-Jul-28
Hm. Not for me. Can you reproduce that?
Certainly can!

With the following :

Code (glbasic) Select
FUNCTION T%:
INLINE
int a;

if (a=1)
{
}
ENDINLINE
ENDFUNCTION


Fold the function and then re-display it and you'll get :

Code (glbasic) Select
FUNCTION T%:
INLINE
int a;

IF (a=1)
{
}
ENDINLINE
ENDFUNCTION


I haven't been able to get it to do it with just loading a problem, so it may have been a once-off...

Schranz0r

I dont know if this on your ToDo Gernot, or you can't fix this problem...

Code (glbasic) Select
TYPE TTest
a%;b%
FUNCTION init:

ENDFUNCTION
ENDTYPE


TYPE TSubTest
a%;b%
FUNCTION init:

ENDFUNCTION
ENDTYPE



WHILE TRUE




SHOWSCREEN
WEND
END


ERROR:

Code (glbasic) Select
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.7.019 SN:7513feb7 - 3D, NET
"TypeTest.gbas"(20) error : a sub/fkt is defined twice : init


But i think you know that problem :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Slydog

Gernot, I don't know the inner workings of your compile process (or ANY compile process!), but to allow TYPES to use the same function names, like Schranz0r is asking, could you get the compiler to automatically prefix all function names with the type name?

For his example you would rename internally his functions to: TTest_init() and TSubTest_init().
(Like people in the forums suggest you do on your own.)

Of course you would have to determine which actual function to call when you encounter it later on in the source code, by knowing what TYPE it is referring to.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

hardyx

#146
@Slydog: I think that C++ do the same way, prefixing the functions with the name of the class of struct. This must be the way.

Gernot, this is an interface bug I think: when you select GP2X in the project options is saved as GP2X-Wiz. When you enter again in the options you see this. Works ok with other platforms.

Kitty Hello

Yes, it's on my TODO. It's a bug. Bad one.

Schranz0r

Ah Ok, nice to know  :happy:
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello