Hello Group
Can anyone confirm or suggest workrounds for the following bug in
lccwin32. If an inline assembly statement immediately follows a for loop
and you try to set a breakpoint on it, then the breakpoint is hit at each
iteration of the loop, not after the loop finishes.
Thanks
Chris
Jul 27 '08
15 2823
Richard Heathfield wrote:
santosh said:
>Bartc wrote:
>>>Chris Peters wrote: > Hello Group > Can anyone confirm or suggest workrounds for the following bug in lccwin32.
[ ... ]
>>Have you thought of putting in a Bug Report option in your IDE? Then this can send a private email or post to the right forum.
He would need to add a whole lot of network/http code for that function. It makes sense for huge commercial products like MSVC, not so much for lcc-win.
Oh, it shouldn't be that hard. It can even be done in ISO C.
#include <stdio.h>
extern int compile(int, char **);
int main(int argc, char **argv)
{
int ch;
const char *name = "jacob";
const char *domainname = "fixme.com.inva lid";
compile(argc, argv);
printf("Please type an 'at' character, ");
printf("of the kind found in email addresses.\n");
ch = getchar();
printf("If you have any bug reports,");
printf(" please send them to: %s%c%s\n",
name, ch, domainname);
return 0;
}
I would place the compile invocation after the bug report message and
add an fflush(stdout) after the printfs. Now even an abortion or
segmentation fault during compile cannot affect the output of the
support message.
:-)
Richard Heathfield wrote:
santosh said:
>Bartc wrote:
>>>Chris Peters wrote: > Hello Group > Can anyone confirm or suggest workrounds for the following bug in lccwin32.
[ ... ]
>>Have you thought of putting in a Bug Report option in your IDE? Then this can send a private email or post to the right forum.
He would need to add a whole lot of network/http code for that function. It makes sense for huge commercial products like MSVC, not so much for lcc-win.
Oh, it shouldn't be that hard. It can even be done in ISO C.
Since this is for Windows it can be done easily (emailing anyway) using
something like:
#include <shellapi.h>
int main (void)
{
ShellExecute(0, "open","mailto: ja***@jacob.rem comp.fr",0,0,1) ;
}
--
Bartc
Bartc wrote:
Richard Heathfield wrote:
>santosh said:
>>Bartc wrote: Chris Peters wrote: >> >Hello Group >> >Can anyone confirm or suggest workrounds for the following bug in >lccwin32 .
[ ... ]
Have you thought of putting in a Bug Report option in your IDE? Then this can send a private email or post to the right forum.
He would need to add a whole lot of network/http code for that function. It makes sense for huge commercial products like MSVC, not so much for lcc-win.
Oh, it shouldn't be that hard. It can even be done in ISO C.
Since this is for Windows it can be done easily (emailing anyway)
using something like:
#include <shellapi.h>
int main (void)
{
ShellExecute(0, "open","mailto: ja***@jacob.rem comp.fr",0,0,1) ;
}
You've just exposed jacob's carefully munged email address to all the
spam harvesters of the Internet.
santosh said:
Bartc wrote:
<snip>
>{ ShellExecute(0 ,"open","mailto :[elided]",0,0,1); }
You've just exposed jacob's carefully munged email address to all the
spam harvesters of the Internet.
Er, so did you, just now.
(I, on the other hand, very carefully did not do that, either in my
original reply or in this one. I know Jacob thinks (wrongly, as it
happens) that I'm out to get him, and of course it's common knowledge that
we have massive disagreements from time to time, but I reckon he and I
*can* agree that there are some things you just don't do to people, no
matter how bad the relationship between you, and deliberately increasing
their exposure to spam is right up there in the top three. Having said
that, I'm very sure that the exposures in this thread were a result of
thoughtlessness rather than malice. And this parenthetical comment now
vastly exceeds the length of the text to which it is a parenthetical
comment, so I'd better stop.)
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Richard Heathfield wrote:
santosh said:
>Bartc wrote:
<snip>
>>{ ShellExecute( 0,"open","mailt o:[elided]",0,0,1); } You've just exposed jacob's carefully munged email address to all the spam harvesters of the Internet.
Er, so did you, just now.
(I, on the other hand, very carefully did not do that, either in my
original reply or in this one. I know Jacob thinks (wrongly, as it
happens) that I'm out to get him, and of course it's common knowledge
that we have massive disagreements from time to time, but I reckon he
and I *can* agree that there are some things you just don't do to
people, no matter how bad the relationship between you, and
deliberately increasing their exposure to spam is right up there in
the top three. Having said that, I'm very sure that the exposures in
this thread were a result of thoughtlessness rather than malice. And
this parenthetical comment now vastly exceeds the length of the text
to which it is a parenthetical comment, so I'd better stop.)
And I on my part would like to apologise to jacob for thoughtlessly
perpetuating Bartc's mistake for one post more than it should have. I
noticed it immediately after hitting the Send button, but alas, Usenet
cancels are not honoured. However I have deleted my post from Google
Groups.
"santosh" <sa*********@gm ail.comwrote in message
news:g6******** **@registered.m otzarella.org.. .
Richard Heathfield wrote:
>santosh said:
>>Bartc wrote:
<snip>
>>>{ ShellExecute (0,"open","mail to:[elided]",0,0,1); }
You've just exposed jacob's carefully munged email address to all the spam harvesters of the Internet.
Er, so did you, just now.
And I on my part would like to apologise to jacob for thoughtlessly
Yes. I apologise too. And I've removed my post from google, if that makes a
difference.
So much for trying to make my example authentic...
--
Bartc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rubén Campos |
last post by:
I haven't found any previous message related to what I'm going to ask here,
but accept my anticipated excuses if I'm wrong.
I want to ask about the real usefulness of the 'inline' keyword. I've read
many authors (and it's my belief, too) who discourage the use of the
'inline' keyword, because:
- The 'inline' word only advice the compiler about wich functions should be
expanded, but not force it to expand them. Also, the compiler can...
|
by: Ganesh Tawde |
last post by:
Hi.
I am trying to use the below pure assembly code as inline assembly in
C. The pure assembly code gives proper data but the inline assembly
code gives me distorted data. I am not able to figure out the problem.
can any body help me on this?
here is the working pure assembly function
*************************************************************************
|
by: ThomasR |
last post by:
I was wondering on the breadth of optimization with .NET JIT compiler.
Let's presume I have an assembly of static classes - mostly helper
functions. Some of these functions may be very small (small enough
that the optimizing compiler would inline them).
If I have another assembly that references this helper libary
assembly, could .NET's JIT compiler inline compile the usage of these
small helper functions?
|
by: Ondrej Spanel |
last post by:
I though that inline functions should be always visible only in the
compilation unit where they are defined - meaning if compiler cannot inline
them, they should be handled as if declared static. However sample attached
shows VC compiler does not work this way (tested in .NET 2003). When you
compile the sample with inlining enabled (like in default Release config),
the output is A1 = 1, A2 = 2. When run with inlining disabled (Debug),...
|
by: Francesc Guim Bernat |
last post by:
Dear colleagues,
i'm getting in troubles using one XML library with Visual Studio .NET
and Xerces with Xalan.
When i execute the code i get the next run time error:
"Run-Time Check Failure #2 - Stack around the variable 'resolver' was
corrupted."
Looking on internet i've seen that the compiler, if you're running your
| |
by: Bert Jansen |
last post by:
There seems to be a bug in de VS .net C++ compiler (optimization) when using
inline functions that return static data.
The following code demonstrates this (Win32 console app with ATL support):
#include "stdafx.h"
#include <atltime.h>
int _tmain(int argc, _TCHAR* argv)
{
|
by: Elliot M. Rodriguez |
last post by:
I am having a heckuva time debugging this, or determining why my page is
behaving this way.
I have a search form, that when completed, returns a datagrid. When the user
selects a row (normal selectcommand button), i assign some session variables
and perform a rediect to a "more information" page. Neither page is using
Output Caching.
On the more information page, a button reads "new search". this clears the
session variables i set in...
|
by: PJ6 |
last post by:
DotNet has always had quirky problems with debugging DLL's when running
inside of other projects - sometimes, mysteriously, you get unhittable
breakpoints (question marks), or break points that get a "plus" sign next to
them and gain "children". Sometimes it's your own fault and the cause is
obvious, but on occasion these things happen for no apparent reason... now
I've uncovered an unexpected cause.
Reference comparisons are...
|
by: =?Utf-8?B?TWljayBPJ05laWxs?= |
last post by:
I am currently trying to wrap an old library (ImageMagick) in .NET, and am
having problems with inline expansions. I have recompiled the library in vc++
2005 OK. However, when I try to access any inline methods of the library
classes from my managed classes, the inlining does not seem to occur, and I
end up with a linker error 2001 - unresolved external. Is there a trick for
getting this to work. I have tried using Default inline (/Ob0) in...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |