... I think my main point here is that half the code in a typical business information system should be compiled with void-safe types as the default, while the...
13732
Hubert Cater
hubertcater
Feb 1, 2009 2:33 pm
I'm having a bit of trouble with the latest Windows SDK 6.1 C-compiler. Initially my executables run fine but once they are wrapped with a DRM called eLicense...
13733
Martin Piskernig
mpiskernig
Feb 1, 2009 3:11 pm
... It is not _that_ easy to give a simple wrapper for this function. You can use STRING_8 for C strings (and convert to a char* in the external routine with...
13734
David Jenkins
djenkins99a
Feb 1, 2009 10:09 pm
I rise in defense of assignment attempt, gone but not forgotten, once favored but now a red-headed stepchild. The more I think about object test and void...
13735
Ian Joyner
i.joyner@...
Feb 1, 2009 11:14 pm
Hmmm, I think any 'create39; instruction is a non-automatic create. Both that and detach would be exceptions to solve some problem which I don't like. But...
13736
Ian Joyner
i.joyner@...
Feb 1, 2009 11:29 pm
I made a proposal in an Objective-C forum recently, where one correspondent saw compiler checking as "bondage and discipline". Anyway, I attempted to explain...
13737
Peter Gummer
peter_gummer
Feb 1, 2009 11:49 pm
... You've omitted the "check" statement, David. For the same outcome as before, do this: if {t5: DATE_TIME} db_row.item (5) then install_date := t5 else check...
13738
Jimmy J. Johnson
boxer41a
Feb 2, 2009 1:55 am
Many thanks Martin. I will try it immediately. You are right; this is a C library; the other project I was also working on at the time is in C++. I also took...
13739
Jimmy J. Johnson
boxer41a
Feb 2, 2009 2:03 am
I am trying to write a simple wrapper for the SQLite database. It comes as one .c file, one .h file, and a .dll. I assume I need to link the .h and .dll....
13740
Martin Piskernig
mpiskernig
Feb 2, 2009 2:09 am
... I don't know how to do this through the EiffelStudio GUI but you can just edit your project's ECF file and add something like the following: <system ...> ...
13741
Emmanuel Stapf [ES]
manus_eiffel
Feb 2, 2009 5:18 am
... I'm afraid this is not the proper way of doing this. First you cannot pass the Eiffel object like that to a C routine as the C side would not get a C...
13742
Chris Saunders
saunders7777
Feb 2, 2009 5:21 am
I'm getting this reported error and don't get it: Error code: VUTA(2) Error: target of the Object_call is not attached. What to do: ensure target of the call...
13743
Emmanuel Stapf [ES]
manus_eiffel
Feb 2, 2009 6:48 am
... This is very strange since nowadays all CPUs have floating point support. ... Does it also fail when using a small C program? Have you tried to debug the ...
13744
Hubert Cater
hubertcater
Feb 2, 2009 1:31 pm
Hi Manu, I dug a little deeper into the issue and it looks like MSVC++ 2008 optimizes compilation by not linking to the floating point support library unless...
13745
Marco Trudel
marco@...
Feb 2, 2009 1:47 pm
Hello all Is there a documentation available about the bytecode generated when melting? Is this bytecode directly compiled to C or are the original source...
13746
David Jenkins
djenkins99a
Feb 2, 2009 4:34 pm
... assignment ... declared ... attached ... as ... assignment attempt version. Yes, of course you are right, I still need the check instruction. But that's...
13747
Colin LeMahieu
colinlema
Feb 2, 2009 8:02 pm
Is v1 an attached variable? A feature call on a detached variable is an invalid call no matter what. ... [Non-text portions of this message have been removed]...
13748
Chris Saunders
saunders7777
Feb 2, 2009 9:57 pm
Thanks very much Colin. I forgot that I had put a "?" before the type of `v1' so that I could compile without using it yet (it's supposed to be a void safe...
13749
Jimmy J. Johnson
boxer41a
Feb 3, 2009 5:43 am
Yes, Manu, it helped and is working. I have no idea what it all means, but it works. :) (I have been away from C for a long time.) I need one more favour....
13750
Peter Gummer
peter_gummer
Feb 3, 2009 5:58 am
... This is rarely so, fortunately, David. When comparing, you should take into account all of the relevant code, including check instructions, etc. *...
13751
Bertrand Meyer
bmeyer_eiffel
Feb 3, 2009 6:48 am
Peter Gummer mentioned a possible construct check boolexp then inst end extending the current form without `then inst' (which would of course remain ...
13752
colinlema
Feb 3, 2009 7:11 am
This construct looks like it would only be syntactic sugar around: if not boolexp then create {CHECK_EXCEPTION}.raise end Trying to keep language functionality...
13753
David Jenkins
djenkins99a
Feb 3, 2009 12:23 pm
... typing ... 3. In ... take ... instructions, etc. ... realistic ... of ... Peter, Are you sure this conforms to the ECMA standard? The applicable rule I...
13754
David Jenkins
djenkins99a
Feb 3, 2009 12:28 pm
Thank you for posting this. Would you mind reading my response to Peter, and letting me know if I'm correct? I may be confused about both object test and check...
13755
olivier.ligot
Feb 3, 2009 12:52 pm
Hi all, Whenever I create an EV_MESSAGE_DIALOG with assertion ckecking, I have a class invariant violation. Is this a known bug or should I submit one? ...
13756
CRISMER Paul-Georges
paul-georges.crismer@...
Feb 4, 2009 8:55 am
Hello, Eiffelstudio 6.3 is installed on this computer configuration: - Intel Core 2 6300 @ 1.86 Ghz - 2 Gb RAM When I launch EiffelStudio the delay is - 37...
13757
Peter Gummer
peter_gummer
Feb 4, 2009 10:41 am
... It's a known problem, Olivier. I reported it on 8th July 2007: #13286. It only happened in a descendant of EV_MESSAGE_DIALOG, so one workaround is to use...
13758
David Jenkins
djenkins99a
Feb 4, 2009 11:56 am
Thanks to the members of the group who replied to my original posting, plus more digging into the ECMA document, followed by extended walks in the park with my...
13759
Bertrand Meyer
bmeyer_eiffel
Feb 4, 2009 12:52 pm
[David Jenkins] ... Without promising any specific functionality, I can mention that 6.4 will have conversion-support tools for void safety, to ease the...
13760
Thomas Beale
twbeale
Feb 4, 2009 3:42 pm
... thinking in terms of what is comprehensible syntax, we have the possibilities. if {x: T} exp then -- do something with attached x end and something like if...