If a speaker isn't designed with the expectation of a wall or two being very close by, two problems can arise when you place it near a wall or in a corner:
First, midrange and/or lower treble energy that normally would have wrapped around the enclosure will now be reflected back toward the listener early enough that it will have a strong effect on perceived timbre, resulting in audible coloration.
Second, frequencies below about 200 Hz will get the benefit of boundary reinforcement, which can cause excess midbass thickness and bass boominess.
Neither of these problems is insurmountable. Use of a horn or waveguide, or even just a wide front baffle, will reduce or prevent coloration in the midrange and lower treble region by controlling the radiation pattern. Or, the speaker just can be designed from the outset to give a tonally correct presentation when that early reflected energy is included.
By not designing in an artificial midbass hump, boundary reinforcement probably won't overly thicken the midbass region. Again, a wide enclosure helps, as does a large diameter midbass driver (because it's more directional). Finally, a low-q sealed enclosure or EBS-tuned reflex enclosure would be less likely to become boomy when placed up close to a wall. Corner placement is more of a challenge, and unless the speaker were specifically tuned for corner placement (think Audio Note), some boominess is still likely. The option of tuning the enclosure much lower than normal would help smooth out the bass with corner placement, transforming what would have been boom into greater depth and impact.
The bass boost you get from boundary reinforcement is the closest thing to a free lunch there is in loudspeaker design. Someone correct me if I'm wrong, but I think Ed Schilling's Hornspeaker is intended to take advantage of boundary reinforcement to augment the bass from his backloaded horn enclosure. I've recently designed a couple of speakers intended to address the issues involved and work well when placed near room boundaries, and will post something about them in Marketplace sometime soon.
Duke